summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-16 01:38:24 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-16 01:38:24 -0400
commit23b27d805740599b968d41e08d726f2a0dc5bdde (patch)
treec7561748d74289d025c60f84b6dbd39ed1ba36ec
parentc2dc25ac51d76c104e8a0cd3b8540886218f13ab (diff)
Add clean() to mod_move function
-rw-r--r--inc/mod/pages.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 86f5ee52..fddf63c7 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -906,8 +906,10 @@ function mod_move($originBoard, $postID) {
modLog("Moved thread #${postID} to " . sprintf($config['board_abbreviation'], $targetBoard) . " (#${newID})", $originBoard);
- // build new hread
+ // build new thread
buildThread($newID);
+
+ clean();
buildIndex();
// trigger themes