summaryrefslogtreecommitdiff
path: root/actions/apiaccountratelimitstatus.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiaccountratelimitstatus.php')
-rw-r--r--actions/apiaccountratelimitstatus.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apiaccountratelimitstatus.php b/actions/apiaccountratelimitstatus.php
index b823e1cd2..af86dae6a 100644
--- a/actions/apiaccountratelimitstatus.php
+++ b/actions/apiaccountratelimitstatus.php
@@ -73,7 +73,7 @@ class ApiAccountRateLimitStatusAction extends ApiBareAuthAction
$reset = new DateTime();
$reset->modify('+1 hour');
- $this->init_document($this->format);
+ $this->initDocument($this->format);
if ($this->format == 'xml') {
$this->elementStart('hash');
@@ -101,7 +101,7 @@ class ApiAccountRateLimitStatusAction extends ApiBareAuthAction
print json_encode($out);
}
- $this->end_document($this->format);
+ $this->endDocument($this->format);
}
}