From 63e0b28d73c4be5de6f734211d5c09992d1b7541 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 5 May 2013 19:54:52 +0200 Subject: fixed exception call FS#2772 --- inc/RemoteAPICore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/RemoteAPICore.php') 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); -- cgit v1.2.3