summaryrefslogtreecommitdiff
path: root/actions/apigroupismember.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apigroupismember.php')
-rw-r--r--actions/apigroupismember.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/apigroupismember.php b/actions/apigroupismember.php
index 359b7ca4f..6cf327012 100644
--- a/actions/apigroupismember.php
+++ b/actions/apigroupismember.php
@@ -95,14 +95,14 @@ class ApiGroupIsMemberAction extends ApiBareAuthAction
switch($this->format) {
case 'xml':
- $this->init_document('xml');
+ $this->initDocument('xml');
$this->element('is_member', null, $is_member);
- $this->end_document('xml');
+ $this->endDocument('xml');
break;
case 'json':
- $this->init_document('json');
- $this->show_json_objects(array('is_member' => $is_member));
- $this->end_document('json');
+ $this->initDocument('json');
+ $this->showJsonObjects(array('is_member' => $is_member));
+ $this->endDocument('json');
break;
default:
$this->clientError(