Skip to content

Commit

Permalink
merge r23059 from branch 2.5 to trunk
Browse files Browse the repository at this point in the history
bug 2917 fixed: invalidate user cache each time pwg.images.delete is called,
to avoid blocking errors on gallery side if deleted photo is set as album
thumbnail.



git-svn-id: http://piwigo.org/svn/trunk@23060 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Jun 5, 2013
1 parent 83efb7b commit c3e6883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ws_functions.inc.php
Expand Up @@ -2668,6 +2668,7 @@ function ws_images_delete($params, $service)

include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
delete_elements($image_ids, true);
invalidate_user_cache();
}

function ws_add_image_category_relations($image_id, $categories_string, $replace_mode=false)
Expand Down

0 comments on commit c3e6883

Please sign in to comment.