summaryrefslogtreecommitdiff
path: root/modules/blogapi
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-04 19:40:28 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-04 19:40:28 +0000
commitb4644f8e668effe5e26309794efab59608c8fd56 (patch)
tree867bc883d9e54481fd767430b79b7865faea5c6b /modules/blogapi
parent2ad97f0277c4eff591c4a7b826ad182e629a7f94 (diff)
downloadbrdo-b4644f8e668effe5e26309794efab59608c8fd56.tar.gz
brdo-b4644f8e668effe5e26309794efab59608c8fd56.tar.bz2
- Patch #36250 by hunmonk: admin batch delete broken, node_delete needs reworked.
This commit changes the node_delete() API. A list of affected modules is available at http://drupal.org/node/36250#comment-52963.
Diffstat (limited to 'modules/blogapi')
-rw-r--r--modules/blogapi/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index e208047d9..1e906bd08 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -318,7 +318,7 @@ function blogapi_blogger_delete_post($appkey, $postid, $username, $password, $co
return blogapi_error($user);
}
- node_delete(array('nid' => $postid, 'confirm' => 1));
+ node_delete($postid);
return true;
}