summaryrefslogtreecommitdiff
path: root/actions/apiblockcreate.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiblockcreate.php')
-rw-r--r--actions/apiblockcreate.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/apiblockcreate.php b/actions/apiblockcreate.php
index 6dd28dd5e..e003e5ee9 100644
--- a/actions/apiblockcreate.php
+++ b/actions/apiblockcreate.php
@@ -100,9 +100,9 @@ class ApiBlockCreateAction extends ApiAuthAction
if ($this->user->hasBlocked($this->other)
|| $this->user->block($this->other)
) {
- $this->init_document($this->format);
- $this->show_profile($this->other, $this->format);
- $this->end_document($this->format);
+ $this->initDocument($this->format);
+ $this->showProfile($this->other, $this->format);
+ $this->endDocument($this->format);
} else {
$this->serverError(_('Block user failed.'), 500, $this->format);
}