Vergleich install/resources/upgrade26.php - 1.8.0 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 30Zeile 30
	$db->update_query("helpdocs", array('usetranslation' => 1));
$db->update_query("helpsections", array('usetranslation' => 1));


	$db->update_query("helpdocs", array('usetranslation' => 1));
$db->update_query("helpsections", array('usetranslation' => 1));


	$db->modify_column("polls", "numvotes", "text NOT NULL");








	if($db->type == 'pgsql')
{
$db->modify_column("polls", "numvotes", "text", "set");
}
else
{
$db->modify_column("polls", "numvotes", "text NOT NULL");
}


if($db->field_exists('failedlogin', 'users'))
{


if($db->field_exists('failedlogin', 'users'))
{

		$db->write_query("ALTER TABLE ".TABLE_PREFIX."users DROP failedlogin;");

		$db->drop_column("users", "failedlogin");

	}

// We don't need the posthash after the post is inserted into the database

	}

// We don't need the posthash after the post is inserted into the database