summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-11-24 22:56:21 +0000
committerDries Buytaert <dries@buytaert.net>2004-11-24 22:56:21 +0000
commit4726c93156e59e0b44faf55845c3f97cf00a9168 (patch)
tree1aa1e96b3bd00735c1fd3663502a920a2e01f2e5 /modules/statistics
parent4e4e2aa7770a43c27a421b3f759160094f7d3191 (diff)
downloadbrdo-4726c93156e59e0b44faf55845c3f97cf00a9168.tar.gz
brdo-4726c93156e59e0b44faf55845c3f97cf00a9168.tar.bz2
- Patch #13443 by Moshe: got rid of the semi-implemented 'page link' feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.module8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 40791bc19..a9a59e263 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -137,14 +137,6 @@ function statistics_link($type, $node = 0, $main = 0) {
}
}
}
-
- if ($type == 'page' && user_access('access content')) {
- $userlink = variable_get('statistics_userpage_link', '');
- if ($userlink) {
- $links[] = l(t($userlink), 'statistics', array('title' => t("View this site's most popular content.")));
- }
- }
-
return $links;
}