summaryrefslogtreecommitdiff
path: root/actions/apifavoritecreate.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apifavoritecreate.php')
-rw-r--r--actions/apifavoritecreate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apifavoritecreate.php b/actions/apifavoritecreate.php
index 90a29d228..b2f6266eb 100644
--- a/actions/apifavoritecreate.php
+++ b/actions/apifavoritecreate.php
@@ -58,7 +58,6 @@ class ApiFavoriteCreateAction extends ApiAuthAction
* @param array $args $_REQUEST args
*
* @return boolean success flag
- *
*/
function prepare($args)
{
@@ -95,6 +94,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction
if (!in_array($this->format, array('xml', 'json'))) {
$this->clientError(
+ // TRANS: Client error displayed when trying to handle an unknown API method.
_('API method not found.'),
404,
$this->format