Vergleich install/resources/upgrade8.php - 1.4.4 - 1.4.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: upgrade8.php 3818 2008-05-07 00:18:54Z Tikitiki $

 * $Id: upgrade8.php 4289 2008-12-06 21:22:41Z Tikitiki $

 */

/**

 */

/**

Zeile 31Zeile 31

echo "<p>Performing necessary upgrade queries..</p>";



echo "<p>Performing necessary upgrade queries..</p>";


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

	if($db->field_exists('oldadditionalgroups', "banned"))

	{
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned DROP oldadditionalgroups;");
}
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned ADD oldadditionalgroups TEXT NOT NULL AFTER oldgroup");



	{
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned DROP oldadditionalgroups;");
}
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned ADD oldadditionalgroups TEXT NOT NULL AFTER oldgroup");



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

	if($db->field_exists('olddisplaygroup', "banned"))

	{
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned DROP olddisplaygroup;");
}

	{
$db->write_query("ALTER TABLE ".TABLE_PREFIX."banned DROP olddisplaygroup;");
}