summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-05-17 17:20:27 -0700
committerDries Buytaert <dries@buytaert.net>2011-05-17 17:20:27 -0700
commitb7ad22b414187a3e5d0b45e5608404000a793fb4 (patch)
tree2dc825cf7928379b9d0f595491319b7b56e902d1 /modules/node
parent39242e9992422db4711f56a8bf5c45218f3a98bd (diff)
downloadbrdo-b7ad22b414187a3e5d0b45e5608404000a793fb4.tar.gz
brdo-b7ad22b414187a3e5d0b45e5608404000a793fb4.tar.bz2
- Patch #705912 by jherencia, bleen18: template_preprocess_node() makes an useless comprobation.
Diffstat (limited to 'modules/node')
-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 a002e24c3..4f079edd7 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1451,10 +1451,6 @@ function template_preprocess_node(&$variables) {
$variables['title'] = check_plain($node->title);
$variables['page'] = $variables['view_mode'] == 'full' && node_is_page($node);
- if (!empty($node->in_preview)) {
- unset($node->content['links']);
- }
-
// Flatten the node object's member fields.
$variables = array_merge((array) $node, $variables);