- Patch #48008 ny markus: removed some unused code.
parent
66576708a0
commit
4ce3d625f6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue