From cb93c61714f5f482953c37a740eef1ba5ff8c4a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sat, 7 Jan 2006 10:12:32 +0000 Subject: [PATCH] - 'node' -> 'post' --- modules/statistics.module | 4 ++-- modules/statistics/statistics.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/statistics.module b/modules/statistics.module index 4e02f6fba8f3..b46ae4c1a806 100644 --- a/modules/statistics.module +++ b/modules/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'); diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 4e02f6fba8f3..b46ae4c1a806 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'); -- GitLab