feature #593, simplify detailed output for pwg.images.delete

This commit is contained in:
plegall
2017-01-09 14:33:26 +01:00
parent edff7540eb
commit 743bbb61f4
2 changed files with 10 additions and 14 deletions
+2 -9
View File
@@ -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),
);
}
}