summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
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/blog/blog.module
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/blog/blog.module')
-rw-r--r--modules/blog/blog.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 54adb2883..ca19a446f 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -256,10 +256,6 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) {
function blog_link($type, $node = 0, $main) {
$links = array();
- if ($type == 'page' && user_access('access content')) {
- $links[] = l(t('blogs'), 'blog', array('title' => t('Read the latest blog entries.')));
- }
-
if ($type == 'node' && $node->type == 'blog') {
if (arg(0) != 'blog' && arg(1) != $node->uid) {
$links[] = l(t("%username's blog", array('%username' => $node->name)), "blog/$node->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $node->name))));