aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-02-23 14:41:45 +0000
committerplegall <plg@piwigo.org>2010-02-23 14:41:45 +0000
commit570c9055564b1de94b35ddc75d42337aaf97ab41 (patch)
tree592d478138d561e985d4ff3d0b3ea115cbd26b7f /ws.php
parent9daf2aa7b6de3cb464b39a05153d42b965409b2b (diff)
merge r4953 from branch 2.0 to trunk
feature 1453 added: ability to check for uniqueness on filename. No change on the default behavior: uniqueness is set on md5sum. git-svn-id: http://piwigo.org/svn/trunk@4954 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 702ff769a..947adcbbd 100644
--- a/ws.php
+++ b/ws.php
@@ -257,7 +257,8 @@ function ws_addDefaultMethods( $arr )
'pwg.images.exist',
'ws_images_exist',
array(
- 'md5sum_list'=> array(),
+ 'md5sum_list'=> array('default' => null),
+ 'filename_list' => array('default' => null),
),
'check existence of a photo list'
);