diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php index 81b211ec83e328948124f0fd664e28a635b35eb4..4c940b39ede43a17905efc318802c5d040317b82 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);