summaryrefslogtreecommitdiff
path: root/modules/statistics/statistics.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-07 10:12:32 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-07 10:12:32 +0000
commitcb93c61714f5f482953c37a740eef1ba5ff8c4a2 (patch)
tree6cc2851b38b53dae59300e528c6eb9077c84c1e7 /modules/statistics/statistics.module
parentee77417ff2fa4e100c373816ac1f740904657495 (diff)
downloadbrdo-cb93c61714f5f482953c37a740eef1ba5ff8c4a2.tar.gz
brdo-cb93c61714f5f482953c37a740eef1ba5ff8c4a2.tar.bz2
- 'node' -> 'post'
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r--modules/statistics/statistics.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 4e02f6fba..b46ae4c1a 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -84,7 +84,7 @@ function statistics_exit() {
* Implementation of hook_perm().
*/
function statistics_perm() {
- return array('access statistics', 'view node access counter');
+ return array('access statistics', 'view post access counter');
}
/**
@@ -94,7 +94,7 @@ function statistics_link($type, $node = 0, $main = 0) {
global $id;
$links = array();
- if ($type != 'comment' && user_access('view node access counter')) {
+ if ($type != 'comment' && user_access('view post access counter')) {
$statistics = statistics_get($node->nid);
if ($statistics) {
$links[] = format_plural($statistics['totalcount'], '1 read', '%count reads');