missing piece of code for #1098 to make the number of checksum configurable

This commit is contained in:
plegall 2020-02-07 15:10:05 +01:00
parent ea25f5b3a4
commit cade53577c

2
ws.php
View file

@ -502,7 +502,7 @@ function ws_addDefaultMethods( $arr )
'pwg.images.setMd5sum', 'pwg.images.setMd5sum',
'ws_images_setMd5sum', 'ws_images_setMd5sum',
array( array(
'block_size' => array('default'=>1000, 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE), 'block_size' => array('default'=>$conf['checksum_compute_blocksize'], 'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
'pwg_token' => array(), 'pwg_token' => array(),
), ),
'Set md5sum column, by blocks. Returns how many md5sums were added and how many are remaining.', 'Set md5sum column, by blocks. Returns how many md5sums were added and how many are remaining.',