summaryrefslogtreecommitdiff
path: root/lib/apiauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r--lib/apiauth.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php
index 99500404f..262f4b966 100644
--- a/lib/apiauth.php
+++ b/lib/apiauth.php
@@ -92,6 +92,9 @@ class ApiAuthAction extends ApiAction
// Reject API calls with the wrong access level
if ($this->isReadOnly($args) == false) {
+
+ common_debug(get_class($this) . ' is not read-only!');
+
if ($this->access != self::READ_WRITE) {
$msg = _('API resource requires read-write access, ' .
'but you only have read access.');