mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1381 changed name of the api function that calculates orphans
This commit is contained in:
6
ws.php
6
ws.php
@@ -594,14 +594,14 @@ function ws_addDefaultMethods( $arr )
|
||||
);
|
||||
|
||||
$service->addMethod(
|
||||
'pwg.images.calculateOrphansOnAlbumDeletion',
|
||||
'ws_images_calculateOrphansOnAlbumDeletion',
|
||||
'pwg.categories.calculateOrphans',
|
||||
'ws_categories_calculateOrphans',
|
||||
array(
|
||||
'category_id' => array('type'=>WS_TYPE_ID,
|
||||
'flags'=>WS_PARAM_FORCE_ARRAY),
|
||||
),
|
||||
'Return the number of orphan photos if an album is deleted.',
|
||||
$ws_functions_root . 'pwg.php',
|
||||
$ws_functions_root . 'pwg.categories.php',
|
||||
array('admin_only'=>true)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user