Mejoras en el Prune de Foros š„ Foro Portal DragonFlyCMS, CPGNuke |
Quote:: |
// // Those without polls and announcements ... unless told otherwise! // // $sql = "SELECT t.topic_id FROM " . POSTS_TABLE . " p, " . TOPICS_TABLE . " t // WHERE t.forum_id = $forum_id // $prune_all // AND ( p.post_id = t.topic_last_post_id OR t.topic_last_post_id = 0 )"; $sql = "SELECT t.topic_id FROM " . POSTS_TABLE . " p LEFT JOIN " . TOPICS_TABLE . " t ON p.post_id = t.topic_last_post_id WHERE t.forum_id = $forum_id $prune_all "; |
Todas las horas son GMT + 1 Hora