summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-06 12:55:56 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-06 12:55:56 +0000
commit87567f8916b78b2eb8ed279b728a30ce2dce249a (patch)
tree097b0e936bc5f07cfeb3fcee7823a23a0be76f33 /modules/blogapi/blogapi.module
parent026af5df34694c8ca5c3708f3fe23fd10ec160cb (diff)
downloadbrdo-87567f8916b78b2eb8ed279b728a30ce2dce249a.tar.gz
brdo-87567f8916b78b2eb8ed279b728a30ce2dce249a.tar.bz2
- Patch #310212 by justinrandell: killed in _node hook, as well as twelve sable tooth tigers.
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 2ae37ff83..9633c3816 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -221,7 +221,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_nodeapi($edit, 'blogapi_new');
node_validate($edit);
if ($errors = form_get_errors()) {
@@ -273,7 +273,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont
$node->body = $content;
}
- node_invoke_nodeapi($node, 'blogapi edit');
+ node_invoke_nodeapi($node, 'blogapi_edit');
node_validate($node);
if ($errors = form_get_errors()) {