Commit 82d45931 authored by Dries's avatar Dries

- Fixed bug 4972: an incorrect permission name prevented the throttle block
  from being shown to users.
parent 553da403
...@@ -56,9 +56,9 @@ function throttle_exit() { ...@@ -56,9 +56,9 @@ function throttle_exit() {
function throttle_perm() { function throttle_perm() {
/* /*
** throttle module defines the following permissions: ** 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") { function throttle_help($section = "admin/help#throttle") {
......
...@@ -56,9 +56,9 @@ function throttle_exit() { ...@@ -56,9 +56,9 @@ function throttle_exit() {
function throttle_perm() { function throttle_perm() {
/* /*
** throttle module defines the following permissions: ** 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") { function throttle_help($section = "admin/help#throttle") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment