Vergleich install/resources/upgrade5.php - 1.2.2 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: upgrade5.php 2439 2006-11-26 14:00:13Z CraKteR $

 * $Id: upgrade5.php 3054 2007-05-12 22:10:05Z Tikitiki $

 */

/**

 */

/**

Zeile 480Zeile 480
		$query = $db->simple_select(TABLE_PREFIX."threads", "tid, firstpost", "closed NOT LIKE 'moved|%'", array("order_by" => "tid", "order_dir" => "asc", "limit" => $tpp, "limit_start" => $start));
while($thread = $db->fetch_array($query))
{

		$query = $db->simple_select(TABLE_PREFIX."threads", "tid, firstpost", "closed NOT LIKE 'moved|%'", array("order_by" => "tid", "order_dir" => "asc", "limit" => $tpp, "limit_start" => $start));
while($thread = $db->fetch_array($query))
{

			update_thread_count($thread['tid']);

			update_thread_counters($thread['tid']);

			if($thread['firstpost'] == 0)
{
update_first_post($thread['tid']);

			if($thread['firstpost'] == 0)
{
update_first_post($thread['tid']);

Zeile 510Zeile 510
	$query = $db->simple_select(TABLE_PREFIX."forums", "fid");
while($forum = $db->fetch_array($query))
{

	$query = $db->simple_select(TABLE_PREFIX."forums", "fid");
while($forum = $db->fetch_array($query))
{

		update_forum_count($forum['fid']);

		update_forum_lastpost($forum['fid']);

	}
echo "<p>Done";
echo "<p>Click next to continue with the upgrade process.</p>";

	}
echo "<p>Done";
echo "<p>Click next to continue with the upgrade process.</p>";