Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
9f8617b4
Commit
9f8617b4
authored
Sep 05, 2006
by
Neil Drumm
Browse files
#48772
by markus_petrux. Remove redundant code from node_link().
parent
208090ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.module
View file @
9f8617b4
...
...
@@ -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'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment