From 2de8344c97468ea9a833f470885243fc94ee7742 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 3 May 2010 09:09:40 +0000 Subject: bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigo is ready for upload (currently, it checks write access on the upload directory) git-svn-id: http://piwigo.org/svn/trunk@6049 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ws.php') diff --git a/ws.php b/ws.php index f100afa6c..1287a3c12 100644 --- a/ws.php +++ b/ws.php @@ -275,6 +275,13 @@ function ws_addDefaultMethods( $arr ) 'check if you have updated version of your files for a given photo, for each requested file type, the answer can be "missing", "equals" or "differs"' ); + $service->addMethod( + 'pwg.images.checkUpload', + 'ws_images_checkUpload', + null, + 'check if Piwigo is ready for upload' + ); + $service->addMethod( 'pwg.images.setInfo', 'ws_images_setInfo', -- cgit v1.2.3