summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index a38fde80f..ba3438b08 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -4525,6 +4525,15 @@ function system_update_6036() {
}
/**
+ * Create consistent empty region for disabled blocks.
+ */
+function system_update_6037() {
+ $ret = array();
+ $ret[] = update_sql("UPDATE {blocks} SET region = '' WHERE status = 0");
+ return $ret;
+}
+
+/**
* @} End of "defgroup updates-5.x-to-6.x"
* The next series of updates should start at 7000.
*/