diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-03 03:04:34 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-03 03:04:34 +0000 |
commit | 0bd7fcbf38d71df62904bd4c86046e9c85c9085d (patch) | |
tree | 4fc269aca56523e2d83bb743c36a1a47f7e38b2d /modules/system/system.install | |
parent | 7fc6e2eaf9d60dd071f9a9d6360047f8a2312116 (diff) | |
download | brdo-0bd7fcbf38d71df62904bd4c86046e9c85c9085d.tar.gz brdo-0bd7fcbf38d71df62904bd4c86046e9c85c9085d.tar.bz2 |
#226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 084248a0c..3d2244415 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1987,6 +1987,10 @@ function system_update_7021() { $ret[] = update_sql("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('system', 'main', '" . $theme->name . "', 1, 0, 'content', '', -1)"); } + // Migrate blocks from left/right regions to first/second regions. + $ret[] = update_sql("UPDATE {block} SET region = 'sidebar_first' WHERE region = 'left'"); + $ret[] = update_sql("UPDATE {block} SET region = 'sidebar_second' WHERE region = 'right'"); + // Migrate contact form information. if ($contact_help = variable_get('contact_form_information', '')) { $bid = db_insert('box')->fields(array('body' => $contact_help, 'info' => 'Contact page help', 'format' => FILTER_FORMAT_DEFAULT))->execute(); |