diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-07-29 17:56:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-07-29 17:56:41 +0000 |
commit | 3a7b64ae03242d09685ad2a2e82c9657f7fa85e6 (patch) | |
tree | 064a5693d48b73b05fb921f250e35e26e0cdc251 /modules/blogapi | |
parent | 2e8e54aea344cf855c1ab128cf09a84c68b3227b (diff) | |
download | brdo-3a7b64ae03242d09685ad2a2e82c9657f7fa85e6.tar.gz brdo-3a7b64ae03242d09685ad2a2e82c9657f7fa85e6.tar.bz2 |
- Patch #61893 by timnc: remove message_na().
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 4 |
1 files changed, 2 insertions, 2 deletions
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); |