diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-07 10:12:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-07 10:12:32 +0000 |
commit | cb93c61714f5f482953c37a740eef1ba5ff8c4a2 (patch) | |
tree | 6cc2851b38b53dae59300e528c6eb9077c84c1e7 /modules | |
parent | ee77417ff2fa4e100c373816ac1f740904657495 (diff) | |
download | brdo-cb93c61714f5f482953c37a740eef1ba5ff8c4a2.tar.gz brdo-cb93c61714f5f482953c37a740eef1ba5ff8c4a2.tar.bz2 |
- 'node' -> 'post'
Diffstat (limited to 'modules')
-rw-r--r-- | modules/statistics.module | 4 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index 4e02f6fba..b46ae4c1a 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 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'); |