diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-11 17:26:33 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-11 17:26:33 +0000 |
commit | 9a34f7a1c2036e0e31e105cbfe6015216561f672 (patch) | |
tree | f573faeb6e984aab7df01de444a97c3947a954fd /includes | |
parent | 82f604753e281a9d2d5a10c41e4c29678b37eac8 (diff) | |
download | brdo-9a34f7a1c2036e0e31e105cbfe6015216561f672.tar.gz brdo-9a34f7a1c2036e0e31e105cbfe6015216561f672.tar.bz2 |
#546048 by Gábor Hojtsy: Move maintenance mode setting to config/development.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 3396476aa..4ad0770be 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -2745,8 +2745,8 @@ function _menu_site_is_offline() { // Ensure that the offline message is displayed only once [allowing for // page redirects], and specifically suppress its display on the site // maintenance page. - if (drupal_get_normal_path($_GET['q']) != 'admin/settings/maintenance-mode') { - drupal_set_message(t('Operating in maintenance mode. <a href="@url">Go online.</a>', array('@url' => url('admin/settings/maintenance-mode'))), 'status', FALSE); + if (drupal_get_normal_path($_GET['q']) != 'admin/config/development/maintenance') { + drupal_set_message(t('Operating in maintenance mode. <a href="@url">Go online.</a>', array('@url' => url('admin/config/development/maintenance'))), 'status', FALSE); } } else { |