diff options
Diffstat (limited to 'cgi/manage.py')
-rw-r--r-- | cgi/manage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cgi/manage.py b/cgi/manage.py index 5fb38d7..79a94de 100644 --- a/cgi/manage.py +++ b/cgi/manage.py @@ -349,8 +349,8 @@ def manage(self, path_split): deletePost(path_split[4], None, 2, imageonly) regenerateTrash() else: - return deletePost(path_split[4], None, 0, imageonly) + regenerateHome() # Borrar denuncias @@ -1126,7 +1126,6 @@ def manage(self, path_split): logAction(staff_account['username'], _('Restored post %s') % ('/' + path_split[5] + '/' + path_split[6]) ) if path_split[4] == 'delete': - return board = setBoard(path_split[5]) post = FetchOne('SELECT id, parentid, message, INET6_NTOA(ip) AS ip FROM `posts` WHERE `boardid` = %s AND `id` = %s LIMIT 1', (board['id'], path_split[6])) |