Commit 85e6a0cd authored by Crell's avatar Crell
Browse files

Remove unnecessary variable.

parent 169646ae
......@@ -35,7 +35,7 @@ public function onKernelRequestMaintenanceModeCheck(GetResponseEvent $event) {
drupal_alter('menu_site_status', $status, $read_only_path);
// Only continue if the site is online.
if ($page_callback_result != MENU_SITE_ONLINE) {
if ($status != MENU_SITE_ONLINE) {
// Deliver the 503 page.
drupal_set_title(t('Site under maintenance'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment