summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 04:25:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 04:25:07 +0000
commitddc2604d694892f6576a5cfa970a4bcfda6ec270 (patch)
tree19ea28561e1c99c287f4a040adf98740903cb2da /modules/blog
parentad84a92662cea2c8ad2e1d29ccdc7234627d4a51 (diff)
downloadbrdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.gz
brdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.bz2
#383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 0fba642f3..00f74a6dd 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -94,9 +94,9 @@ function blog_view($node, $teaser) {
}
/**
- * Implementation of hook_nodeapi_view.
+ * Implementation of hook_node_view.
*/
-function blog_nodeapi_view($node, $teaser = FALSE) {
+function blog_node_view($node, $teaser = FALSE) {
if ($node->type == 'blog') {
if (arg(0) != 'blog' || arg(1) != $node->uid) {
$links['blog_usernames_blog'] = array(