summaryrefslogtreecommitdiff
path: root/actions/apiblockcreate.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
committerZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
commit061af8fa06ccb98f667d1ee670da2dbb179d8b0e (patch)
tree2a7ac2a05af3782d012d6e4b4fe8905a250de993 /actions/apiblockcreate.php
parentb08d16ef2bf5995ca2feee2d2688e0080eaf5124 (diff)
CamelCase all function names in the API code
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);
}