Vergleich inc/functions_rebuild.php - 1.8.4 - 1.8.19

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 27Zeile 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 57Zeile 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 93Zeile 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 110Zeile 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 != ''))