summaryrefslogtreecommitdiff
path: root/actions/apiblockdestroy.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiblockdestroy.php')
-rw-r--r--actions/apiblockdestroy.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/apiblockdestroy.php b/actions/apiblockdestroy.php
index a869dfe46..470b60ea5 100644
--- a/actions/apiblockdestroy.php
+++ b/actions/apiblockdestroy.php
@@ -99,9 +99,9 @@ class ApiBlockDestroyAction extends ApiAuthAction
if (!$this->user->hasBlocked($this->other)
|| $this->user->unblock($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(_('Unblock user failed.'));
}