summaryrefslogtreecommitdiff
path: root/actions/twitapilaconica.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/twitapilaconica.php')
-rw-r--r--actions/twitapilaconica.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/twitapilaconica.php b/actions/twitapilaconica.php
index 34c8f88fc..8cd7a64b9 100644
--- a/actions/twitapilaconica.php
+++ b/actions/twitapilaconica.php
@@ -79,7 +79,7 @@ class TwitapilaconicaAction extends TwitterapiAction
$this->end_document('json');
break;
default:
- $this->client_error(_('API method not found!'), $code=404);
+ $this->clientError(_('API method not found!'), $code=404);
}
}
@@ -148,7 +148,7 @@ class TwitapilaconicaAction extends TwitterapiAction
$this->end_document('json');
break;
default:
- $this->client_error(_('API method not found!'), $code=404);
+ $this->clientError(_('API method not found!'), $code=404);
}
}
@@ -169,6 +169,6 @@ class TwitapilaconicaAction extends TwitterapiAction
function wadl($args, $apidata)
{
parent::handle($args);
- common_server_error(_('API method under construction.'), 501);
+ $this->serverError(_('API method under construction.'), 501);
}
}