Skip to content
Snippets Groups Projects
Commit 8851b57a authored by Angie Byron's avatar Angie Byron
Browse files

#227486 follow-up by catch: Move update 7010 to 6048 so that the 6.x and 7.x updates stay in sync.

parent 5951daf8
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment