aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/manage.py2
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]))