diff options
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index f99bda8b0..3a25c2dc8 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -252,7 +252,6 @@ function drupal_not_found() { watchdog('page not found', t('%page not found.', array('%page' => theme('placeholder', $_GET['q']))), WATCHDOG_WARNING); $path = drupal_get_normal_path(variable_get('site_404', '')); - $status = MENU_NOT_FOUND; if ($path && $path != $_GET['q']) { menu_set_active_item($path); $return = menu_execute_active_handler(); @@ -272,7 +271,6 @@ function drupal_access_denied() { watchdog('access denied', t('%page denied access.', array('%page' => theme('placeholder', $_GET['q']))), WATCHDOG_WARNING, l(t('view'), $_GET['q'])); $path = drupal_get_normal_path(variable_get('site_403', '')); - $status = MENU_NOT_FOUND; if ($path && $path != $_GET['q']) { menu_set_active_item($path); $return = menu_execute_active_handler(); |