summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/update.inc3
-rw-r--r--modules/system/system.install2
2 files changed, 4 insertions, 1 deletions
diff --git a/includes/update.inc b/includes/update.inc
index 283cc4bf1..a04c4e627 100644
--- a/includes/update.inc
+++ b/includes/update.inc
@@ -132,6 +132,9 @@ function update_fix_d7_requirements() {
db_add_field('url_alias', 'source', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
db_add_field('url_alias', 'alias', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
+ // Add the deliver_callback column to {menu_router}.
+ db_add_field('menu_router', 'delivery_callback', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
+
// Add the role_permisson table.
$schema['role_permission'] = array(
'fields' => array(
diff --git a/modules/system/system.install b/modules/system/system.install
index 9fbc8ffee..4993b9d4b 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2803,7 +2803,7 @@ function system_update_7040() {
* function to be used for final page rendering and sending to browser.
*/
function system_update_7041() {
- db_add_field('menu_router', 'delivery_callback', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
+ // Moved to update_fix_d7_requirements().
}
/**