summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-10-23 17:18:23 +0000
committerDries Buytaert <dries@buytaert.net>2004-10-23 17:18:23 +0000
commitf1a087e3768d193c6be1aefcfd60009373f1d387 (patch)
tree37dd44047b6a0a5605ddd00aa67e925911ce24c0 /modules/blog
parentc6df88ddf0bc4a70ac0244311827443802906e9d (diff)
downloadbrdo-f1a087e3768d193c6be1aefcfd60009373f1d387.tar.gz
brdo-f1a087e3768d193c6be1aefcfd60009373f1d387.tar.bz2
- Patch #11879 by Moshe: deprecated the _content hook.
TODO: + Update Doxygen hook list (if required). + Document this in the developer's upgrade section.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module10
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 50db6cb7a..805e458e1 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -222,13 +222,6 @@ function blog_form(&$node) {
}
/**
- * Implementation of hook_content().
- */
-function blog_content($node, $teaser = FALSE) {
- return node_prepare($node, $teaser);
-}
-
-/**
* Implementation of hook_view().
*/
function blog_view(&$node, $teaser = FALSE, $page = FALSE) {
@@ -239,8 +232,7 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) {
$breadcrumb[] = array('path' => 'node/'. $node->nid);
menu_set_location($breadcrumb);
}
- // prepare the node content
- $node = blog_content($node, $teaser);
+ $node = node_prepare($node, $teaser);;
}
/**