Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
<?php
2
if(!defined("PHORUM_ADMIN")) return;
3
 
4
// Refresh all forum statistics for making bringing thread_count up to date.
5
$forums = phorum_db_get_forums();
6
foreach ($forums as $forum) {
7
    $GLOBALS["PHORUM"]["forum_id"] = $forum["forum_id"];
8
    phorum_db_update_forum_stats(true);
9
}
10
?>