diff options
-rw-r--r-- | includes/update.inc | 2 | ||||
-rw-r--r-- | modules/system/system.install | 13 |
2 files changed, 10 insertions, 5 deletions
diff --git a/includes/update.inc b/includes/update.inc index 3a131083d..41f33f402 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -746,7 +746,7 @@ function update_fix_d7_requirements() { // Rename 'site_offline_message' variable to 'maintenance_mode_message' // and 'site_offline' variable to 'maintenance_mode'. // Old variable is removed in update for system.module, see - // system_update_7036(). + // system_update_7072(). if ($message = variable_get('site_offline_message', NULL)) { variable_set('maintenance_mode_message', $message); } diff --git a/modules/system/system.install b/modules/system/system.install index 95ee8c5de..aed7cc489 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2242,10 +2242,6 @@ function system_update_7036() { )); } $insert->execute(); - - // Remove obsolete variable 'site_offline_message'. See - // update_fix_d7_requirements(). - variable_del('site_offline_message'); } /** @@ -2974,6 +2970,15 @@ function system_update_7071() { } /** + * Remove the obsolete 'site_offline_message' variable. + * + * @see update_fix_d7_requirements() + */ +function system_update_7072() { + variable_del('site_offline_message'); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |