mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10605] Use database updater function _sql() instead of $db->sql_query()
PHPBB3-10605
This commit is contained in:
parent
f71a9d369c
commit
95e1d4e9db
1 changed files with 1 additions and 1 deletions
|
@ -2062,7 +2062,7 @@ function change_database_data(&$no_updates, $version)
|
||||||
{
|
{
|
||||||
$sql = 'DELETE FROM ' . PRIVMSGS_TABLE . '
|
$sql = 'DELETE FROM ' . PRIVMSGS_TABLE . '
|
||||||
WHERE ' . $db->sql_in_set('msg_id', $delete_pms);
|
WHERE ' . $db->sql_in_set('msg_id', $delete_pms);
|
||||||
$db->sql_query($sql);
|
_sql($sql, $errored, $error_ary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (sizeof($delete_pms) == $batch_size);
|
while (sizeof($delete_pms) == $batch_size);
|
||||||
|
|
Loading…
Add table
Reference in a new issue