summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-05 02:43:18 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-05 02:43:18 +0000
commit9f8617b4628fe04ea332ccf392789f76636b8d70 (patch)
treeeb105b48f39406a5d941f9f60761c527d516142f
parent208090eeb00edf3715a3f1b8cd38576e6d26bfdd (diff)
downloadbrdo-9f8617b4628fe04ea332ccf392789f76636b8d70.tar.gz
brdo-9f8617b4628fe04ea332ccf392789f76636b8d70.tar.bz2
#48772 by markus_petrux. Remove redundant code from node_link().
-rw-r--r--modules/node/node.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index e52f98015..4b50bd562 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'),