From 257fac8454924bb2f09aaee6a112f9f86f7520f1 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sun, 29 Dec 2013 15:32:28 -0500 Subject: Issue #1426122 by deletedaccount, Alan D., andypost, maximpodorov: Some callbacks return junk when calling drupal_not_found(); replace with return MENU_NOT_FOUND instead. --- modules/system/system.admin.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index b5b19e85f..465fd9f4d 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -309,7 +309,7 @@ function system_theme_enable() { } drupal_goto('admin/appearance'); } - return drupal_access_denied(); + return MENU_ACCESS_DENIED; } /** @@ -337,7 +337,7 @@ function system_theme_disable() { } drupal_goto('admin/appearance'); } - return drupal_access_denied(); + return MENU_ACCESS_DENIED; } /** @@ -383,7 +383,7 @@ function system_theme_default() { } drupal_goto('admin/appearance'); } - return drupal_access_denied(); + return MENU_ACCESS_DENIED; } /** -- cgit v1.2.3