summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-29 15:32:28 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-29 15:32:28 -0500
commit257fac8454924bb2f09aaee6a112f9f86f7520f1 (patch)
tree7c0bc3b7730b203fba3c1ef0ce491cf5b2525315 /modules/system
parent987892b79edcb3b2325fe551f261cd627c1f0e99 (diff)
downloadbrdo-257fac8454924bb2f09aaee6a112f9f86f7520f1.tar.gz
brdo-257fac8454924bb2f09aaee6a112f9f86f7520f1.tar.bz2
Issue #1426122 by deletedaccount, Alan D., andypost, maximpodorov: Some callbacks return junk when calling drupal_not_found(); replace with return MENU_NOT_FOUND instead.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc6
1 files changed, 3 insertions, 3 deletions
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;
}
/**