From 9fa8f3069cd195228a822b7c447963f8cb12cc5f Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 31 May 2017 15:24:49 +0200 Subject: [PATCH] fixes #696, invalidate user cache when deleting an album via API --- include/ws_functions/pwg.categories.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php index 79b27d75e..09958ad12 100644 --- a/include/ws_functions/pwg.categories.php +++ b/include/ws_functions/pwg.categories.php @@ -851,6 +851,7 @@ SELECT id include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); delete_categories($category_ids, $params['photo_deletion_mode']); update_global_rank(); + invalidate_user_cache(); } /**