- Patch #285467 by mustafau: fixed typo a MT blog API function.

merge-requests/26/head
Dries Buytaert 2008-07-23 07:42:08 +00:00
parent d743fcc5c7
commit 8b51a9dfb1
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ function blogapi_xmlrpc() {
t('Retrieve information about the text formatting plugins supported by the server.')), t('Retrieve information about the text formatting plugins supported by the server.')),
array( array(
'mt.publishPost', 'mt.publishPost',
'blogap_mti_publish_post', 'blogapi_mt_publish_post',
array('boolean', 'string', 'string', 'string'), array('boolean', 'string', 'string', 'string'),
t('Publish (rebuild) all of the static files related to an entry from your blog. Equivalent to saving an entry in the system (but without the ping).'))); t('Publish (rebuild) all of the static files related to an entry from your blog. Equivalent to saving an entry in the system (but without the ping).')));
} }
@ -490,7 +490,7 @@ function blogapi_mt_supported_text_filters() {
/** /**
* Blogging API callback. Publishes the given node. * Blogging API callback. Publishes the given node.
*/ */
function blogap_mti_publish_post($postid, $username, $password) { function blogapi_mt_publish_post($postid, $username, $password) {
$user = blogapi_validate_user($username, $password); $user = blogapi_validate_user($username, $password);
if (!$user->uid) { if (!$user->uid) {