1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-12 18:45:20 +02:00

Revising r10499, #57755

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10503 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Andreas Fischer 2010-02-18 02:01:32 +00:00
parent 9bcb25cd10
commit c02fedb6c7

View File

@ -1601,7 +1601,7 @@ function change_database_data(&$no_updates, $version)
$no_updates = false; $no_updates = false;
break; break;
// No changes from 3.0.7-RC1 to 3.0.7 // Changes from 3.0.7-RC1 to 3.0.7
case '3.0.7-RC1': case '3.0.7-RC1':
$sql = 'SELECT user_id, user_email, user_email_hash $sql = 'SELECT user_id, user_email, user_email_hash
@ -1624,13 +1624,15 @@ function change_database_data(&$no_updates, $version)
$sql = 'UPDATE ' . USERS_TABLE . ' $sql = 'UPDATE ' . USERS_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE user_id = ' . (int) $row['user_id']; WHERE user_id = ' . (int) $row['user_id'];
__sql($sql, $errored, $error_ary, ($i % 100 == 0)); _sql($sql, $errored, $error_ary, ($i % 100 == 0));
++$i; ++$i;
} }
} }
$db->sql_freeresult($result); $db->sql_freeresult($result);
$no_updates = false;
break; break;
} }
} }