From f1a087e3768d193c6be1aefcfd60009373f1d387 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 23 Oct 2004 17:18:23 +0000 Subject: - Patch #11879 by Moshe: deprecated the _content hook. TODO: + Update Doxygen hook list (if required). + Document this in the developer's upgrade section. --- modules/blog/blog.module | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'modules/blog/blog.module') 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 @@ -221,13 +221,6 @@ function blog_form(&$node) { return $output; } -/** - * Implementation of hook_content(). - */ -function blog_content($node, $teaser = FALSE) { - return node_prepare($node, $teaser); -} - /** * Implementation of hook_view(). */ @@ -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);; } /** -- cgit v1.2.3