Vergleich install/resources/upgrade20.php - 1.6.4 - 1.6.17

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

 * Website: http://www.mybboard.com
* License: http://mybb.com/about/license
*

 * $Id: upgrade20.php 5520 2011-07-28 08:56:12Z Tomm $

 * $Id$

 */

/**

 */

/**

Zeile 44Zeile 44
		$db->query("SELECT setval('{$mybb->config['database']['table_prefix']}usergroups_gid_seq', (SELECT max(gid) FROM {$mybb->config['database']['table_prefix']}usergroups));");
}


		$db->query("SELECT setval('{$mybb->config['database']['table_prefix']}usergroups_gid_seq', (SELECT max(gid) FROM {$mybb->config['database']['table_prefix']}usergroups));");
}


	if($db->field_exists('custom_profile_fields', 'adminviews'))
{
$db->drop_column('adminviews', 'custom_profile_fields');
}
if(!$db->field_exists('custom_profile_fields', 'adminviews'))
{
$db->add_column("adminviews", "custom_profile_fields", "text NOT NULL AFTER conditions");
}

	$db->add_column("adminviews", "custom_profile_fields", "text NOT NULL AFTER conditions");









$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("20_done");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("20_done");