为了维护数据库的冗余性,保证在删除图片投票主题帖子后无数据库冗余信息,请站长朋友们将source\function\function_delete.php
文件进行替换或更改。
具体更改项目:
function deletethread($tids, $membercount = false, $credit = false, $ponly = false) {
……
foreach(array('forum_forumrecommend', 'forum_polloption', 'forum_poll', 'forum_activity', 'forum_activityapply', 'forum_debate',
'forum_debatepost', 'forum_threadmod', 'forum_relatedthread', 'forum_typeoptionvar',
'forum_postposition', 'forum_poststick', 'forum_pollvoter', 'forum_threadimage') as $table) {
DB::delete($table, "tid IN ($tids)");
}
……
}
楼主能说的更明白些吗? |