root/ip/trunk/modcp.php
| 142 | 154 | ||
|---|---|---|---|
25 | include(IP_ROOT_PATH . 'common.' . PHP_EXT); | 25 | include(IP_ROOT_PATH . 'common.' . PHP_EXT); |
26 | include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT); | 26 | include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT); |
27 | include_once(IP_ROOT_PATH . 'includes/functions_admin.' . PHP_EXT); | 27 | include_once(IP_ROOT_PATH . 'includes/functions_admin.' . PHP_EXT); |
28 | include_once(IP_ROOT_PATH . 'includes/functions_post.' . PHP_EXT); | ||
28 | 29 | ||
29 | @include_once(IP_ROOT_PATH . 'includes/class_topics.' . PHP_EXT); | 30 | @include_once(IP_ROOT_PATH . 'includes/class_topics.' . PHP_EXT); |
30 | $class_topics = new class_topics(); | 31 | $class_topics = new class_topics(); |
... | ... | ||
606 | 607 | ||
607 | empty_cache_folders(POSTS_CACHE_FOLDER); | 608 | empty_cache_folders(POSTS_CACHE_FOLDER); |
608 | empty_cache_folders(FORUMS_CACHE_FOLDER); | 609 | empty_cache_folders(FORUMS_CACHE_FOLDER); |
610 | sync_topic_details(0, 0, true, false); | ||
609 | sync('forum', $new_forum_id); | 611 | sync('forum', $new_forum_id); |
610 | sync('forum', $old_forum_id); | 612 | sync('forum', $old_forum_id); |
611 | $message = ((sizeof($topics) == '1') ? sprintf($lang['Mod_CP_topic_moved'], find_names($old_forum_id), find_names($new_forum_id)) : sprintf($lang['Mod_CP_topics_moved'], find_names($old_forum_id), find_names($new_forum_id))) .'<br /><br />'; | 613 | $message = ((sizeof($topics) == '1') ? sprintf($lang['Mod_CP_topic_moved'], find_names($old_forum_id), find_names($new_forum_id)) : sprintf($lang['Mod_CP_topics_moved'], find_names($old_forum_id), find_names($new_forum_id))) .'<br /><br />'; |
Download diff