diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-05-21 21:12:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-05-21 21:12:25 +0000 |
commit | 02c8592759c5b33d3d94fe6a515f10af4317dd5c (patch) | |
tree | 570ec558b6f70565d40a3e4f30cac3515c752c48 /modules/system/system.install | |
parent | 51948a790b92a44e6d1bccb62332cbd413b36f00 (diff) | |
download | brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.gz brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.bz2 |
- Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 9b8ab44d3..d0246fbc8 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3347,7 +3347,7 @@ function system_update_7020() { } /** - * Add help block to the help region, migrate custom variables to blocks. + * Add new blocks to new regions, migrate custom variables to blocks. */ function system_update_7021() { $ret = array(); @@ -3359,6 +3359,8 @@ function system_update_7021() { $themes_with_blocks[] = $theme->name; // Add new system generated help block. $ret[] = update_sql("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('system', 'help', '" . $theme->name . "', 1, 0, 'help', '', 1)"); + // Add new system generated main page content block. + $ret[] = update_sql("INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES ('system', 'main', '" . $theme->name . "', 1, 0, 'content', '', -1)"); } // Migrate contact form information. |