summaryrefslogtreecommitdiff
path: root/actions/apistatusnetversion.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apistatusnetversion.php')
-rw-r--r--actions/apistatusnetversion.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/apistatusnetversion.php b/actions/apistatusnetversion.php
index fb632fd93..6af9bdd1a 100644
--- a/actions/apistatusnetversion.php
+++ b/actions/apistatusnetversion.php
@@ -77,14 +77,14 @@ class ApiStatusnetVersionAction extends ApiAction
switch ($this->format) {
case 'xml':
- $this->init_document('xml');
+ $this->initDocument('xml');
$this->element('version', null, STATUSNET_VERSION);
- $this->end_document('xml');
+ $this->endDocument('xml');
break;
case 'json':
- $this->init_document('json');
+ $this->initDocument('json');
print '"'.STATUSNET_VERSION.'"';
- $this->end_document('json');
+ $this->endDocument('json');
break;
default:
$this->clientError(