diff --git a/include/ws_functions/pwg.images.php b/include/ws_functions/pwg.images.php index 72473bcbf..7d62f0957 100644 --- a/include/ws_functions/pwg.images.php +++ b/include/ws_functions/pwg.images.php @@ -2885,6 +2885,7 @@ function ws_images_deleteOrphans($params, $service) $orphan_ids_to_delete = array_slice(get_orphans(), 0, $params['block_size']); $deleted_count = delete_elements($orphan_ids_to_delete, true); + invalidate_user_cache(); return array( 'nb_deleted' => $deleted_count,