summaryrefslogtreecommitdiff
path: root/inc/remote.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-01-08 19:31:10 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-01-08 19:31:10 +0100
commite61127e4af913a252fbe5c8f427501268501895c (patch)
tree0bf1145dd629a5a48604c7c219d6d7f23fbd9272 /inc/remote.php
parent6e8160489a60f00eb756682b574be72693c7878b (diff)
downloadrpg-e61127e4af913a252fbe5c8f427501268501895c.tar.gz
rpg-e61127e4af913a252fbe5c8f427501268501895c.tar.bz2
refactored RemoteAccessDenied to RemoteAccessDeniedException
Diffstat (limited to 'inc/remote.php')
-rw-r--r--inc/remote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/remote.php b/inc/remote.php
index 71ceb97b5..8c505911c 100644
--- a/inc/remote.php
+++ b/inc/remote.php
@@ -4,7 +4,7 @@ if (!defined('DOKU_INC')) die();
require_once(DOKU_INC.'inc/RemoteAPICore.php');
class RemoteException extends Exception {}
-class RemoteAccessDenied extends RemoteException {}
+class RemoteAccessDeniedException extends RemoteException {}
abstract class RemoteDataType {
private $value;
@@ -161,7 +161,7 @@ class RemoteAPI {
*/
public function forceAccess() {
if (!$this->hasAccess()) {
- throw new RemoteAccessDenied();
+ throw new RemoteAccessDeniedException();
}
}