diff options
author | Choom | 2023-01-13 17:08:28 -0300 |
---|---|---|
committer | Choom | 2023-01-13 17:08:28 -0300 |
commit | 3a04bb27af32fa9a65dfca27dbc0ec7e7b036d19 (patch) | |
tree | 6830058cfb3afb8b295686fab654c30d8c6c6aa0 | |
parent | 35d073467ceef2f099b6a60d276dce89fa5635fb (diff) | |
download | weabot-3a04bb27af32fa9a65dfca27dbc0ec7e7b036d19.tar.gz weabot-3a04bb27af32fa9a65dfca27dbc0ec7e7b036d19.tar.xz weabot-3a04bb27af32fa9a65dfca27dbc0ec7e7b036d19.zip |
Borrado permanente
-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])) |