Commit 9f8617b4 authored by drumm's avatar drumm
Browse files

#48772 by markus_petrux. Remove redundant code from node_link().

parent 208090ee
...@@ -968,10 +968,6 @@ function node_link($type, $node = NULL, $teaser = FALSE) { ...@@ -968,10 +968,6 @@ function node_link($type, $node = NULL, $teaser = FALSE) {
$links = array(); $links = array();
if ($type == 'node') { if ($type == 'node') {
if (array_key_exists('links', $node)) {
$links = $node->links;
}
if ($teaser == 1 && $node->teaser && $node->readmore) { if ($teaser == 1 && $node->teaser && $node->readmore) {
$links['node_read_more'] = array( $links['node_read_more'] = array(
'title' => t('read more'), 'title' => t('read more'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment