Zeile 6 | Zeile 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 5379 2011-02-21 11:06:42Z Tomm $
|
*/
/**
| */
/**
|
Zeile 31 | Zeile 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;"); }
|