Vergleich install/resources/upgrade8.php - 1.2.9 - 1.2.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/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);