diff --git a/modules/system/system.install b/modules/system/system.install index 9ac9f0264f9859f0ba60aae0354b6f3fdb292823..1849f88adf08b2a2831fafedfdc8fe99bfff6dd3 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2687,6 +2687,18 @@ function system_update_6047() { return $ret; } +/** + * Increase the size of the 'load_functions' and 'to_arg_functions' fields in + * table 'menu_router'. + */ +function system_update_6048() { + $ret = array(); + db_change_field($ret, 'menu_router', 'load_functions', 'load_functions', array('type' => 'text', 'not null' => TRUE)); + db_change_field($ret, 'menu_router', 'to_arg_functions', 'to_arg_functions', array('type' => 'text', 'not null' => TRUE)); + + return $ret; +} + /** * @} End of "defgroup updates-5.x-to-6.x" * The next series of updates should start at 7000. @@ -3028,14 +3040,10 @@ function system_update_7009() { } /** - * Increase the size of the 'load_functions' and 'to_arg_functions' fields in table 'menu_router'. + * Moved to system_update_6048(). */ function system_update_7010() { - $ret = array(); - db_change_field($ret, 'menu_router', 'load_functions', 'load_functions', array('type' => 'text', 'not null' => TRUE)); - db_change_field($ret, 'menu_router', 'to_arg_functions', 'to_arg_functions', array('type' => 'text', 'not null' => TRUE)); - - return $ret; + return array(); } /**