Remove debugging statement
This commit is contained in:
parent
324590c46e
commit
f296f04abd
@ -96,9 +96,6 @@ class ApiAuthAction extends ApiAction
|
|||||||
// Reject API calls with the wrong access level
|
// Reject API calls with the wrong access level
|
||||||
|
|
||||||
if ($this->isReadOnly($args) == false) {
|
if ($this->isReadOnly($args) == false) {
|
||||||
|
|
||||||
common_debug(get_class($this) . ' is not read-only!');
|
|
||||||
|
|
||||||
if ($this->access != self::READ_WRITE) {
|
if ($this->access != self::READ_WRITE) {
|
||||||
$msg = _('API resource requires read-write access, ' .
|
$msg = _('API resource requires read-write access, ' .
|
||||||
'but you only have read access.');
|
'but you only have read access.');
|
||||||
|
Loading…
Reference in New Issue
Block a user