fields('s', array('weight')) ->condition('name', 'text', '=') ->execute() ->fetchField(); db_update('system') ->fields(array('weight' => $weight + 1)) ->condition('type', 'module') ->condition('name', 'select_or_other') ->execute(); } /** * Increase the module weight. * * @see select_or_other_install() */ function select_or_other_update_7201() { $weight = db_select('system', 's') ->fields('s', array('weight')) ->condition('name', 'text', '=') ->execute() ->fetchField(); db_update('system') ->fields(array('weight' => $weight + 1)) ->condition('type', 'module') ->condition('name', 'select_or_other') ->execute(); }