aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-03-13 21:13:17 +0000
committerrvelices <rv-github@modusoptimus.com>2012-03-13 21:13:17 +0000
commitf0d5c6c010ebf651ca6db8c35ef7124b8ca95369 (patch)
treeb053805852a789b6fcfde01f33703fb3380a6220 /ws.php
parentbfdcd5e6490fbd8889ce1dd0e03372caccd76139 (diff)
git-svn-id: http://piwigo.org/svn/trunk@13544 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php32
1 files changed, 1 insertions, 31 deletions
diff --git a/ws.php b/ws.php
index 45e4ae76d..998ee1d6c 100644
--- a/ws.php
+++ b/ws.php
@@ -89,6 +89,7 @@ function ws_addDefaultMethods( $arr )
$service->addMethod('pwg.getMissingDerivatives', 'ws_getMissingDerivatives',
array(
'types' => array( 'default'=>array(), 'flags'=>WS_PARAM_FORCE_ARRAY),
+ 'ids' => array( 'default'=>array(), 'flags'=>WS_PARAM_FORCE_ARRAY),
'max_urls' => array( 'default' => 200 ),
'prev_page' => array( 'default'=> null),
'f_min_rate' => array( 'default'=> null ),
@@ -459,37 +460,6 @@ function ws_addDefaultMethods( $arr )
);
$service->addMethod(
- 'pwg.images.resizeThumbnail',
- 'ws_images_resizethumbnail',
- array(
- 'image_id' => array('default' => null),
- 'image_path' => array('default' => null),
- 'maxwidth' => array('default' => $conf['upload_form_thumb_maxwidth']),
- 'maxheight' => array('default' => $conf['upload_form_thumb_maxheight']),
- 'quality' => array('default' => $conf['upload_form_thumb_quality']),
- 'crop' => array('default' => $conf['upload_form_thumb_crop']),
- 'follow_orientation' => array('default' => $conf['upload_form_thumb_follow_orientation']),
- 'library' => array('default' => $conf['graphics_library']),
- ),
- 'Create/Regenerate thumbnails photo with given arguments.
-<br>One of arguments "image_id" or "image_path" must be sent.'
- );
-
- $service->addMethod(
- 'pwg.images.resizeWebsize',
- 'ws_images_resizewebsize',
- array(
- 'image_id' => array(),
- 'maxwidth' => array('default' => $conf['upload_form_websize_maxwidth']),
- 'maxheight' => array('default' => $conf['upload_form_websize_maxheight']),
- 'quality' => array('default' => $conf['upload_form_websize_quality']),
- 'automatic_rotation' => array('default' => $conf['upload_form_automatic_rotation']),
- 'library' => array('default' => $conf['graphics_library']),
- ),
- 'Regenerate websize photo with given arguments.'
- );
-
- $service->addMethod(
'pwg.extensions.update',
'ws_extensions_update',
array(