mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #2173 allow comma separated list for image_id in pwg.images.syncMetadata
This commit is contained in:
@@ -567,9 +567,7 @@ function ws_addDefaultMethods( $arr )
|
||||
'pwg.images.syncMetadata',
|
||||
'ws_images_syncMetadata',
|
||||
array(
|
||||
'image_id' => array('default'=>null,
|
||||
'type'=>WS_TYPE_ID|WS_TYPE_POSITIVE,
|
||||
'flags'=>WS_PARAM_FORCE_ARRAY),
|
||||
'image_id' => array('flags'=>WS_PARAM_ACCEPT_ARRAY, 'info'=>'Comma separated ids or array of id'),
|
||||
'pwg_token' => array(),
|
||||
),
|
||||
'Sync metadatas, by blocks. Returns how many images were synchronized',
|
||||
|
||||
Reference in New Issue
Block a user