diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 9 | ||||
-rw-r--r-- | includes/theme.inc | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/includes/common.inc b/includes/common.inc index 31f3f426d..d65ebe7a2 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1596,15 +1596,6 @@ function link_page() { } /** - * Fetch a set of links to display after a given node. - * - * The links are gathered by calls to hook_link('node') in each module. - */ -function link_node($node, $main = 0) { - return module_invoke_all('link', 'node', $node, $main); -} - -/** * Perform end-of-request tasks. * * This function sets the page cache if appropriate, and allows modules to diff --git a/includes/theme.inc b/includes/theme.inc index f22a775c0..8a32f389d 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -519,8 +519,8 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) { $output .= $node->body; } - if ($links = link_node($node, $teaser)) { - $output .= '<div class="links">'. theme('links', $links) .'</div>'; + if ($node->links) { + $output .= '<div class="links">'. theme('links', $node->links) .'</div>'; } return $output; |