summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 12:47:45 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-01-21 12:47:45 -0800
commit27910871de69895eb9382be95037da8a473925d0 (patch)
treec0c6a842accd2c05d3001c3d714f0a2387ba565a /modules/system/system.install
parent12a722cb3cbb519fce642c3fa4cc31de9c09a825 (diff)
downloadbrdo-27910871de69895eb9382be95037da8a473925d0.tar.gz
brdo-27910871de69895eb9382be95037da8a473925d0.tar.bz2
Issue #987930 by David_Rothstein, Tor Arne Thune: Fixed The obsolete 'site_offline_message' variable is not always deleted during the D6->D7 upgrade.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install13
1 files changed, 9 insertions, 4 deletions
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.
*/