summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
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/blogapi/blogapi.module
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/blogapi/blogapi.module')
-rw-r--r--modules/blogapi/blogapi.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index 763d39f10..3a40a3d46 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -224,7 +224,7 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte
$edit['date'] = format_date(REQUEST_TIME, 'custom', 'Y-m-d H:i:s O');
}
- node_invoke_nodeapi($edit, 'blogapi_new');
+ node_invoke_node($edit, 'blogapi_new');
$valid = blogapi_status_error_check($edit, $publish);
if ($valid !== TRUE) {
@@ -282,7 +282,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont
$node->body = $content;
}
- node_invoke_nodeapi($node, 'blogapi_edit');
+ node_invoke_node($node, 'blogapi_edit');
$valid = blogapi_status_error_check($node, $original_status);
if ($valid !== TRUE) {