summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-05 22:18:48 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-05 22:18:48 +0000
commit82d45931ac7be842576e82410ac564ad8ab5c8b1 (patch)
tree5ceabafe1792eece0e0284945335a075c87045b9
parent553da403355fd8277f3845829f5818f5a557c370 (diff)
downloadbrdo-82d45931ac7be842576e82410ac564ad8ab5c8b1.tar.gz
brdo-82d45931ac7be842576e82410ac564ad8ab5c8b1.tar.bz2
- Fixed bug 4972: an incorrect permission name prevented the throttle block
from being shown to users.
-rw-r--r--modules/throttle.module4
-rw-r--r--modules/throttle/throttle.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/throttle.module b/modules/throttle.module
index a40db7ea8..518f34d48 100644
--- a/modules/throttle.module
+++ b/modules/throttle.module
@@ -56,9 +56,9 @@ function throttle_exit() {
function throttle_perm() {
/*
** throttle module defines the following permissions:
- ** access throttle box - see throttle statistics
+ ** access throttle block - see throttle statistics
*/
- return array("access throttle box");
+ return array("access throttle block");
}
function throttle_help($section = "admin/help#throttle") {
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module
index a40db7ea8..518f34d48 100644
--- a/modules/throttle/throttle.module
+++ b/modules/throttle/throttle.module
@@ -56,9 +56,9 @@ function throttle_exit() {
function throttle_perm() {
/*
** throttle module defines the following permissions:
- ** access throttle box - see throttle statistics
+ ** access throttle block - see throttle statistics
*/
- return array("access throttle box");
+ return array("access throttle block");
}
function throttle_help($section = "admin/help#throttle") {