mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
feature #593, simplify detailed output for pwg.images.delete
This commit is contained in:
@@ -1743,15 +1743,8 @@ function ws_images_delete($params, $service)
|
||||
if ($params['return_details'])
|
||||
{
|
||||
return array(
|
||||
'success' => true,
|
||||
'details' => array(
|
||||
'nb_processed' => count($image_ids),
|
||||
),
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
'nb_processed' => count($image_ids),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user