"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/class_moderation.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

class_moderation.php  (mybb_1822):class_moderation.php  (mybb_1823)
skipping to change at line 1752 skipping to change at line 1752
"postnum" => "+{$counters['postnum']}", "postnum" => "+{$counters['postnum']}",
"threadnum" => "+{$counters['threadnum']}", "threadnum" => "+{$counters['threadnum']}",
); );
update_user_counters($uid, $update_array); update_user_counters($uid, $update_array);
} }
$updated_stats = array( $updated_stats = array(
"replies" => "+{$mergethread['replies']}", "replies" => "+{$mergethread['replies']}",
"attachmentcount" => "+{$mergethread['attachmentcount']}" , "attachmentcount" => "+{$mergethread['attachmentcount']}" ,
"unapprovedposts" => "+{$mergethread['unapprovedposts']}" , "unapprovedposts" => "+{$mergethread['unapprovedposts']}" ,
"deletedposts" => "+{$mergethread['unapprovedposts']}",
"deletedposts" => "+{$mergethread['deletedposts']}" "deletedposts" => "+{$mergethread['deletedposts']}"
); );
update_thread_counters($tid, $updated_stats); update_thread_counters($tid, $updated_stats);
update_last_post($tid); update_last_post($tid);
// Forum last post has to be updated after thread // Forum last post has to be updated after thread
update_forum_lastpost($thread['fid']); update_forum_lastpost($thread['fid']);
return true; return true;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)