Remove unnecessary variable.

8.0.x
Larry Garfield 2012-04-06 16:10:09 -05:00
parent 169646ae39
commit 85e6a0cd3a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class MaintenanceModeSubscriber implements EventSubscriberInterface {
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_maintenance_theme();
drupal_set_title(t('Site under maintenance'));