aboutsummaryrefslogtreecommitdiff
path: root/cgi/manage.py
diff options
context:
space:
mode:
authorLibravatar TDavis 2019-03-30 00:53:47 -0300
committerLibravatar TDavis 2019-03-30 00:53:47 -0300
commitc69a8b67f9722a12385c5a330e70a7343c15fb05 (patch)
tree148278abce48bc640cfb1588924c3bb728e2260d /cgi/manage.py
parentbbc3b76803922d611f23e468faf19f24cd1ef996 (diff)
downloadweabot-c69a8b67f9722a12385c5a330e70a7343c15fb05.tar.gz
weabot-c69a8b67f9722a12385c5a330e70a7343c15fb05.tar.xz
weabot-c69a8b67f9722a12385c5a330e70a7343c15fb05.zip
Mover hilos fix
Diffstat (limited to 'cgi/manage.py')
-rw-r--r--cgi/manage.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgi/manage.py b/cgi/manage.py
index 44731ba..a8367a2 100644
--- a/cgi/manage.py
+++ b/cgi/manage.py
@@ -523,6 +523,7 @@ def manage(self, path_split):
# insert notice message
if 'msg' in self.formdata:
+ leavemsg = True
board = setBoard(oldboard)
if board['board_type'] == '1':
@@ -540,11 +541,13 @@ def manage(self, path_split):
notice_post["timestamp_formatted"] = "Hilo movido"
notice_post["bumped"] = oldbumped
notice_post.insert()
+ regenerateThreadPage(oldthread)
# regenerate
regenerateFrontPages()
+ board = setBoard(newboardid)
regenerateThreadPage(newthreadid)
- regenerateThreadPage(oldthread)
+
message += "done"