Merge branch 'feature/593-delete-by-blocks'

This commit is contained in:
plegall
2017-01-10 16:15:11 +01:00
5 changed files with 121 additions and 7 deletions
+8 -1
View File
@@ -1739,6 +1739,13 @@ function ws_images_delete($params, $service)
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
delete_elements($image_ids, true);
invalidate_user_cache();
if ($params['return_details'])
{
return array(
'nb_processed' => count($image_ids),
);
}
}
/**
@@ -1760,4 +1767,4 @@ function ws_images_checkUpload($params, $service)
return $ret;
}
?>
?>