From d99f02427cabae690b10dc13faaf018cac0f9b30 Mon Sep 17 00:00:00 2001 From: neptune Date: Sat, 17 Dec 2022 14:48:28 -0300 Subject: Actualizando basural cuando sea necesario --- cgi/manage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgi') diff --git a/cgi/manage.py b/cgi/manage.py index 2fef8ca..b98ae06 100644 --- a/cgi/manage.py +++ b/cgi/manage.py @@ -347,6 +347,7 @@ def manage(self, path_split): if not permanently: deletePost(path_split[4], None, 2, imageonly) + regenerateTrash() else: deletePost(path_split[4], None, 0, imageonly) regenerateHome() @@ -1008,6 +1009,7 @@ def manage(self, path_split): else: regenerateFrontPages() + regenerateTrash() message = _('Post successfully restored.') logAction(staff_account['username'], _('Restored post %s') % ( '/' + path_split[5] + '/' + path_split[6])) -- cgit v1.2.1-18-gbd029