From 9f8617b4628fe04ea332ccf392789f76636b8d70 Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@3064.no-reply.drupal.org>
Date: Tue, 5 Sep 2006 02:43:18 +0000
Subject: [PATCH] #48772 by markus_petrux. Remove redundant code from
 node_link().

---
 modules/node/node.module | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/node/node.module b/modules/node/node.module
index e52f98015cf9..4b50bd562815 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -968,10 +968,6 @@ function node_link($type, $node = NULL, $teaser = FALSE) {
   $links = array();
 
   if ($type == 'node') {
-    if (array_key_exists('links', $node)) {
-      $links = $node->links;
-    }
-
     if ($teaser == 1 && $node->teaser && $node->readmore) {
       $links['node_read_more'] = array(
         'title' => t('read more'),
-- 
GitLab