Vergleich admin/maintenance.php - 1.2.4 - 1.2.8

  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: maintenance.php 2564 2006-12-24 07:12:11Z dennis $

 * $Id: maintenance.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

define("IN_MYBB", 1);

require_once "./global.php";

 */

define("IN_MYBB", 1);

require_once "./global.php";

 
require_once MYBB_ROOT."/inc/functions_rebuild.php";


// Load language packs for this section
global $lang;


// Load language packs for this section
global $lang;

Zeile 157Zeile 158
	{
$update['parentlist'] = makeparentlist($forum['fid']);
$db->update_query(TABLE_PREFIX."forums", $update, "fid='{$forum['fid']}'");

	{
$update['parentlist'] = makeparentlist($forum['fid']);
$db->update_query(TABLE_PREFIX."forums", $update, "fid='{$forum['fid']}'");

		update_forum_count($forum['fid']);

		rebuild_forum_counters($forum['fid']);

	}

if($end >= $num_forums)

	}

if($end >= $num_forums)

Zeile 202Zeile 203
	$query = $db->simple_select(TABLE_PREFIX."threads", "tid", '', array('order_by' => 'tid', 'order_dir' => 'asc', 'limit_start' => $start, 'limit' => $per_page));
while($thread = $db->fetch_array($query))
{

	$query = $db->simple_select(TABLE_PREFIX."threads", "tid", '', array('order_by' => 'tid', 'order_dir' => 'asc', 'limit_start' => $start, 'limit' => $per_page));
while($thread = $db->fetch_array($query))
{

		update_thread_count($thread['tid']);

		rebuild_thread_counters($thread['tid']);

	}

if($end >= $num_threads)

	}

if($end >= $num_threads)