Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

<?php
if(!defined("PHORUM_ADMIN")) return;

// Refresh all forum statistics for making bringing thread_count up to date.
$forums = phorum_db_get_forums();
foreach ($forums as $forum) {
    $GLOBALS["PHORUM"]["forum_id"] = $forum["forum_id"];
    phorum_db_update_forum_stats(true);
}
?>