From 4726c93156e59e0b44faf55845c3f97cf00a9168 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 24 Nov 2004 22:56:21 +0000 Subject: - 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. --- modules/blog/blog.module | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/blog/blog.module') 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)))); -- cgit v1.2.3