- Patch #48008 ny markus: removed some unused code.

4.7.x
Dries Buytaert 2006-02-26 19:53:00 +00:00
parent 66576708a0
commit 4ce3d625f6
1 changed files with 0 additions and 2 deletions

View File

@ -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();