Vergleich install/resources/upgrade8.php - 1.2.5 - 1.2.13

  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$

 * $Id: upgrade8.php 3352 2007-09-30 08:17:16Z chris $

 */

/**

 */

/**

Zeile 32Zeile 32

if(!$db->field_exists('oldadditionalgroups', TABLE_PREFIX."banned"))
{


if(!$db->field_exists('oldadditionalgroups', TABLE_PREFIX."banned"))
{

			$db->query("ALTER TABLE ".TABLE_PREFIX."banned ADD oldadditionalgroups text NOT NULL AFTER oldgroup");

		$db->query("ALTER TABLE ".TABLE_PREFIX."banned ADD oldadditionalgroups text NOT NULL default '' AFTER oldgroup");

	}

if(!$db->field_exists('olddisplaygroup', TABLE_PREFIX."banned"))
{

	}

if(!$db->field_exists('olddisplaygroup', TABLE_PREFIX."banned"))
{

			$db->query("ALTER TABLE ".TABLE_PREFIX."banned ADD olddisplaygroup int NOT NULL default '0' AFTER oldadditionalgroups");

		$db->query("ALTER TABLE ".TABLE_PREFIX."banned ADD olddisplaygroup int NOT NULL default '0' AFTER oldadditionalgroups");

	}
$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);

	}
$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);