From 3a04bb27af32fa9a65dfca27dbc0ec7e7b036d19 Mon Sep 17 00:00:00 2001 From: Choom Date: Fri, 13 Jan 2023 17:08:28 -0300 Subject: Borrado permanente --- cgi/manage.py | 3 +-- 1 file changed, 1 insertion(+), 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])) -- cgit v1.2.1-18-gbd029