Update database2znoteaac.php

Compatibility with flags
This commit is contained in:
Stefan A. Brannfjell 2017-01-30 16:44:14 +01:00 committed by GitHub
parent f4ae84f5e3
commit ff7b51bff2

View File

@ -94,7 +94,7 @@ require '../engine/function/users.php';
foreach ($old_accounts as $old) {
// Make acc data compatible:
mysql_insert("INSERT INTO `znote_accounts` (`account_id`, `ip`, `created`) VALUES ('$old', '0', '$time')");
mysql_insert("INSERT INTO `znote_accounts` (`account_id`, `ip`, `created`, `flag`) VALUES ('$old', '0', '$time', '')");
$updated_acc += 1;
// Fetch unsalted password
@ -150,4 +150,4 @@ require '../engine/function/users.php';
echo 'Updated characters: : '. $updated_char .'<br>';
echo 'Detected:'. $updated_pass .' accounts with plain passwords. These passwords has been given sha1 encryption.<br>';
echo '<br>All accounts and characters are compatible with Znote AAC<br>';
?>
?>