summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-08-22 20:39:43 +0000
committerDries Buytaert <dries@buytaert.net>2005-08-22 20:39:43 +0000
commit6a4e6df36fe43b45c78a160fdf58df8d78ae5f02 (patch)
treebc214693b7f2b0d75feb593766b5d3b825ef3cc7 /modules/node/node.module
parent22a98528b741042a06d1227182bd4162cc2e8c45 (diff)
downloadbrdo-6a4e6df36fe43b45c78a160fdf58df8d78ae5f02.tar.gz
brdo-6a4e6df36fe43b45c78a160fdf58df8d78ae5f02.tar.bz2
- Patch #17592 by killes: improved access denied messages.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index ddb76a8ce..296664b41 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1420,7 +1420,7 @@ function node_add($type) {
$output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
}
else {
- $output = message_access();
+ $output = t('You are not allowed to create content.');
}
}