summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-03 06:33:21 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-03 06:33:21 +0000
commita28f1ad9d27ec5e9d9b4e5d5b5f9d61efcd12ac0 (patch)
treee79c513e00e58d5bcbd95dbf7165798e639661b6 /modules/system
parentd0f8f90a364fb1ab6253e9e2cfa42ecd57cc6c3b (diff)
downloadbrdo-a28f1ad9d27ec5e9d9b4e5d5b5f9d61efcd12ac0.tar.gz
brdo-a28f1ad9d27ec5e9d9b4e5d5b5f9d61efcd12ac0.tar.bz2
#257910 follow-up by Damien Tournoud: Fix location of search.install update code and remove redundant index.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install17
1 files changed, 1 insertions, 16 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index af0140121..58f5e1f3d 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3096,22 +3096,7 @@ function system_update_7011() {
'permission' => 'bypass node access',
));
}
- $insert->execute();
- return $ret;
-}
-
-/**
- * Replace unique keys in 'search_dataset' and 'search_index' by primary keys.
- */
-function system_update_7012() {
- $ret = array();
- db_drop_unique_key($ret, 'search_dataset', 'sid_type');
- db_add_primary_key($ret, 'search_dataset', array('sid', 'type'));
-
- db_drop_index($ret, 'search_index', 'word');
- db_drop_unique_key($ret, 'search_index', 'word_sid_type');
- db_add_primary_key($ret, 'search_index', array('word', 'sid', 'type'));
-
+ $insert->execute();
return $ret;
}