summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc12
1 files changed, 1 insertions, 11 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 33519b450..e5e6d0190 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -301,7 +301,7 @@ function drupal_access_denied() {
if (empty($return)) {
drupal_set_title(t('Access denied'));
- $return = message_access();
+ $return = t('You are not authorized to access this page.');
}
print theme('page', $return);
}
@@ -570,16 +570,6 @@ function object2array($object) {
*/
/**
- * Return a string with an "access denied" message.
- *
- * Always consider whether to use drupal_access_denied() instead to return a
- * proper (and customizable) 403 error.
- */
-function message_access() {
- return t('You are not authorized to access this page.');
-}
-
-/**
* Return a string with a "not applicable" message.
*/
function message_na() {