diff options
author | Dominik Eckelmann <deckelmann@gmail.com> | 2012-03-21 11:04:12 +0100 |
---|---|---|
committer | Dominik Eckelmann <deckelmann@gmail.com> | 2012-03-21 11:04:12 +0100 |
commit | c2eb026d070a5ba9ba1ee8754c3a862a026a7ea8 (patch) | |
tree | eeb142a4d56b12e84363b4e07afc19f717daaa6f | |
parent | 4ea1d54936a1d1e9b919e06639632bc2ac65f6d3 (diff) | |
download | rpg-c2eb026d070a5ba9ba1ee8754c3a862a026a7ea8.tar.gz rpg-c2eb026d070a5ba9ba1ee8754c3a862a026a7ea8.tar.bz2 |
changed error code for unauthorized method calls.
-rw-r--r-- | inc/remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/remote.php b/inc/remote.php index fb095f517..b4cc8e6cc 100644 --- a/inc/remote.php +++ b/inc/remote.php @@ -158,7 +158,7 @@ class RemoteAPI { */ public function forceAccess() { if (!$this->hasAccess()) { - throw new RemoteAccessDeniedException('server error. not authorized to call method', -32603); + throw new RemoteAccessDeniedException('server error. not authorized to call method', -32604); } } |