summaryrefslogtreecommitdiff
path: root/actions/apihelptest.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
committerZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
commit061af8fa06ccb98f667d1ee670da2dbb179d8b0e (patch)
tree2a7ac2a05af3782d012d6e4b4fe8905a250de993 /actions/apihelptest.php
parentb08d16ef2bf5995ca2feee2d2688e0080eaf5124 (diff)
CamelCase all function names in the API code
Diffstat (limited to 'actions/apihelptest.php')
-rw-r--r--actions/apihelptest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/apihelptest.php b/actions/apihelptest.php
index cd5b86cf9..4691cbf99 100644
--- a/actions/apihelptest.php
+++ b/actions/apihelptest.php
@@ -74,13 +74,13 @@ class ApiHelpTestAction extends ApiAction
parent::handle($args);
if ($this->format == 'xml') {
- $this->init_document('xml');
+ $this->initDocument('xml');
$this->element('ok', null, 'true');
- $this->end_document('xml');
+ $this->endDocument('xml');
} elseif ($this->format == 'json') {
- $this->init_document('json');
+ $this->initDocument('json');
print '"ok"';
- $this->end_document('json');
+ $this->endDocument('json');
} else {
$this->clientError(
_('API method not found!'),