summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-08 15:44:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-08 15:44:36 +0000
commite0e885e00e7ce6caf35610c9f991eeabb0acdceb (patch)
tree19e4997f9c62bf954cc1eda2349dfcf880fbf1ae /modules/system
parentafbc26d7d13e404cb05333c7fbcdff9dd5ea0e30 (diff)
downloadbrdo-e0e885e00e7ce6caf35610c9f991eeabb0acdceb.tar.gz
brdo-e0e885e00e7ce6caf35610c9f991eeabb0acdceb.tar.bz2
#734770 by andypost: Fix the extra Drupal 6 upgrades.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index d3261465a..5b34152e6 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1563,7 +1563,7 @@ function system_update_6051() {
'description' => 'The {filter_formats}.format of the signature.',
);
- db_add_field($ret, 'users', 'signature_format', $schema);
+ db_add_field('users', 'signature_format', $schema);
// Set the format of existing signatures to the current default text format.
if ($current_default_filter = variable_get('filter_default_format', 0)) {
@@ -1576,26 +1576,20 @@ function system_update_6051() {
drupal_set_message("User signatures no longer inherit comment text formats. Each user's signature now has its own associated format that can be selected on the user's account page. Existing signatures have been set to your site's default text format.");
}
-
- return $ret;
}
/**
* Add a missing index on the {menu_router} table.
*/
function system_update_6052() {
- $ret = array();
- db_add_index($ret, 'menu_router', 'tab_root_weight_title', array(array('tab_root', 64), 'weight', 'title'));
- return $ret;
+ db_add_index('menu_router', 'tab_root_weight_title', array(array('tab_root', 64), 'weight', 'title'));
}
/**
* Add a {system} index on type and name.
*/
function system_update_6053() {
- $ret = array();
- db_add_index($ret, 'system', 'type_name', array(array('type', 12), 'name'));
- return $ret;
+ db_add_index('system', 'type_name', array(array('type', 12), 'name'));
}
/**