summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-21 21:12:25 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-21 21:12:25 +0000
commit02c8592759c5b33d3d94fe6a515f10af4317dd5c (patch)
tree570ec558b6f70565d40a3e4f30cac3515c752c48 /modules/node
parent51948a790b92a44e6d1bccb62332cbd413b36f00 (diff)
downloadbrdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.gz
brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.bz2
- Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 1b61ed2fb..0eb5c3f31 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1325,7 +1325,7 @@ function node_show($node, $message = FALSE) {
node_tag_new($node->nid);
// For markup consistency with other pages, use node_build_multiple() rather than node_build().
- return drupal_get_page(node_build_multiple(array($node), FALSE));
+ return node_build_multiple(array($node), FALSE);
}
/**
@@ -2088,7 +2088,7 @@ function node_page_default() {
);
}
drupal_set_title('');
- return drupal_get_page($build);
+ return $build;
}
/**