mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Update database2znoteaac.php
Compatibility with flags
This commit is contained in:
parent
f4ae84f5e3
commit
ff7b51bff2
@ -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>';
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user