summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-01 18:39:56 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-01 18:39:56 +0000
commitd5d453604af5dcc50f37870c3a03270a8ac1435f (patch)
tree9d5acb75d1313851a0db72874977f43b01a06f5d /modules/system/system.install
parent65f1c9fa248c47b472698aedf9b34f52aac54865 (diff)
downloadbrdo-d5d453604af5dcc50f37870c3a03270a8ac1435f.tar.gz
brdo-d5d453604af5dcc50f37870c3a03270a8ac1435f.tar.bz2
- Patch #613858 by sun, Dave Reid: fixed drupal_is_front_page() should not call drupal_get_normal_path().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 987e7a0e4..debee5616 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2806,6 +2806,13 @@ function system_update_7046() {
}
/**
+ * Normalize the front page path variable.
+ */
+function system_update_7046() {
+ variable_set('site_frontpage', drupal_get_normal_path(variable_get('site_frontpage', 'node')));
+}
+
+/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
*/