]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apihelptest.php
CamelCase all function names in the API code
[quix0rs-gnu-social.git] / actions / apihelptest.php
index cd5b86cf931f2f16ed5b74f23298a38eab1cf544..4691cbf99c8f150bac027c69f4c6a0c90dd05471 100644 (file)
@@ -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!'),