From 0355caac417d92973f4913efbb19342ae352bf2e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 8 Aug 2009 22:52:59 +0000 Subject: #537654 by catch: Tidy up comment links, and remove hook_link() in favour of hook_page_alter(). --- modules/node/node.module | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 725891d9f..b66b423f0 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1594,27 +1594,6 @@ function theme_node_search_admin($form) { return $output; } -/** - * Implement hook_link(). - */ -function node_link($type, $node, $build_mode) { - $links = array(); - - if ($type == 'node') { - if ($build_mode == 'teaser') { - $links['node_read_more'] = array( - 'title' => t('Read more'), - 'href' => "node/$node->nid", - // The title attribute gets escaped when the links are processed, so - // there is no need to escape here. - 'attributes' => array('title' => t('Read the rest of !title.', array('!title' => $node->title))) - ); - } - } - - return $links; -} - function _node_revision_access($node, $op = 'view') { static $access = array(); if (!isset($access[$node->vid])) { -- cgit v1.2.3