diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-26 19:53:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-26 19:53:00 +0000 |
commit | 4ce3d625f6b2a53ec2bcf1165a026d5e20524d49 (patch) | |
tree | a3955da31b6757f99c569039d022394554c13b93 | |
parent | 66576708a0f3fd8fc328390c00f7cae1be2d5329 (diff) | |
download | brdo-4ce3d625f6b2a53ec2bcf1165a026d5e20524d49.tar.gz brdo-4ce3d625f6b2a53ec2bcf1165a026d5e20524d49.tar.bz2 |
- Patch #48008 ny markus: removed some unused code.
-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(); |