Zeile 27 | Zeile 27 |
---|
/** * Completely rebuild the counters for a particular forum (useful if they become out of sync) *
|
/** * Completely rebuild the counters for a particular forum (useful if they become out of sync) *
|
* @param int The forum ID
| * @param int $fid The forum ID
|
*/ function rebuild_forum_counters($fid) {
| */ function rebuild_forum_counters($fid) {
|
Zeile 57 | Zeile 57 |
---|
/** * Completely rebuild the counters for a particular thread (useful if they become out of sync) *
|
/** * Completely rebuild the counters for a particular thread (useful if they become out of sync) *
|
* @param int The thread ID
| * @param int $tid The thread ID
|
*/ function rebuild_thread_counters($tid) {
| */ function rebuild_thread_counters($tid) {
|
Zeile 93 | Zeile 93 |
---|
/** * Completely rebuild poll counters for a particular poll (useful if they become out of sync) *
|
/** * Completely rebuild poll counters for a particular poll (useful if they become out of sync) *
|
* @param int The poll ID
| * @param int $pid The poll ID
|
*/ function rebuild_poll_counters($pid) {
| */ function rebuild_poll_counters($pid) {
|
Zeile 110 | Zeile 110 |
---|
}
$voteslist = '';
|
}
$voteslist = '';
|
$numvotes = '';
| $numvotes = 0;
|
for($i = 1; $i <= $poll['numoptions']; ++$i) { if(trim($voteslist != ''))
| for($i = 1; $i <= $poll['numoptions']; ++$i) { if(trim($voteslist != ''))
|