diff options
author | neptune | 2022-12-17 14:48:28 -0300 |
---|---|---|
committer | neptune | 2022-12-17 14:48:28 -0300 |
commit | d99f02427cabae690b10dc13faaf018cac0f9b30 (patch) | |
tree | 43988877e040b34aab3fc0be68dfdd4ddacb3eff | |
parent | 96b833cbc8f7b792ae6c5ff2714f0cd168b63beb (diff) | |
download | weabot-d99f02427cabae690b10dc13faaf018cac0f9b30.tar.gz weabot-d99f02427cabae690b10dc13faaf018cac0f9b30.tar.xz weabot-d99f02427cabae690b10dc13faaf018cac0f9b30.zip |
Actualizando basural cuando sea necesario
-rw-r--r-- | cgi/manage.py | 2 |
1 files changed, 2 insertions, 0 deletions
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])) |