mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
[ticket/10605] Use database updater function _sql() instead of $db->sql_query()
PHPBB3-10605
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user