From 92acb92699bf2127569125689fc522f6edaf7c1c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 10 Jan 2006 12:35:20 +0000 Subject: - Patch #33747 by Ber and Moshe: bugfix + code improvement: clean up some of the taxonomy loading code. --- modules/blogapi/blogapi.module | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/blogapi') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 8fa29326e..ce7edce8d 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -274,11 +274,6 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont return blogapi_error(implode("\n", $errors)); } - $terms = module_invoke('taxonomy', 'node_get_terms', $node->nid, 'tid'); - foreach ($terms as $term) { - $node->taxonomy[] = $term->tid; - } - $node = node_submit($node); node_save($node); if ($node->nid) { -- cgit v1.2.3