summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-05-05 19:54:52 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-05-05 19:54:52 +0200
commit63e0b28d73c4be5de6f734211d5c09992d1b7541 (patch)
treed6473319dceeb9c1a303c1356d6e7803069dbfba /inc
parent3e967eac778be30e35501150970fed880513c841 (diff)
downloadrpg-63e0b28d73c4be5de6f734211d5c09992d1b7541.tar.gz
rpg-63e0b28d73c4be5de6f734211d5c09992d1b7541.tar.bz2
fixed exception call FS#2772
Diffstat (limited to 'inc')
-rw-r--r--inc/RemoteAPICore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 81b211ec8..4c940b39e 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -372,7 +372,7 @@ class RemoteAPICore {
$file = wikiFN($id,$rev);
$time = @filemtime($file);
if(!$time){
- throw new RemoteException(10, 'The requested page does not exist', 121);
+ throw new RemoteException('The requested page does not exist', 121);
}
$info = getRevisionInfo($id, $time, 1024);