mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02:00
[ticket/10605] Use database updater function _sql() instead of $db->sql_query()
PHPBB3-10605
This commit is contained in:
parent
f71a9d369c
commit
95e1d4e9db
@ -2062,7 +2062,7 @@ function change_database_data(&$no_updates, $version)
|
||||
{
|
||||
$sql = 'DELETE FROM ' . PRIVMSGS_TABLE . '
|
||||
WHERE ' . $db->sql_in_set('msg_id', $delete_pms);
|
||||
$db->sql_query($sql);
|
||||
_sql($sql, $errored, $error_ary);
|
||||
}
|
||||
}
|
||||
while (sizeof($delete_pms) == $batch_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user