aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-02-23 14:38:38 +0000
committerplegall <plg@piwigo.org>2010-02-23 14:38:38 +0000
commitd0f215731db408a463257789d9497b20a4d26bab (patch)
treed349c06c5fcdaba4780ee32f17c9998ebaf19bf2 /ws.php
parent6e6ba78b1bdde7974eb576ba931acfd657c4c146 (diff)
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/branches/2.0@4953 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 11fce7aa3..6e73d4c89 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'
);