From 3a7b64ae03242d09685ad2a2e82c9657f7fa85e6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 29 Jul 2006 17:56:41 +0000 Subject: - Patch #61893 by timnc: remove message_na(). --- modules/blogapi/blogapi.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blogapi') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index b674c0edc..e8196d1a0 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -215,7 +215,7 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte if (user_access('administer nodes') && !isset($edit['date'])) { $edit['date'] = format_date(time(), 'custom', 'Y-m-d H:i:s O'); } - + node_invoke_nodeapi($edit, 'blogapi new'); node_validate($edit); @@ -247,7 +247,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont $node = node_load($postid); if (!$node) { - return blogapi_error(message_na()); + return blogapi_error(t('n/a')); } // Let the teaser be re-generated. unset($node->teaser); -- cgit v1.2.3