mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 17:53:08 +02:00
fixes #696, invalidate user cache when deleting an album via API
This commit is contained in:
@@ -851,6 +851,7 @@ SELECT id
|
|||||||
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
||||||
delete_categories($category_ids, $params['photo_deletion_mode']);
|
delete_categories($category_ids, $params['photo_deletion_mode']);
|
||||||
update_global_rank();
|
update_global_rank();
|
||||||
|
invalidate_user_cache();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user