aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-05-14 00:36:18 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-05-14 00:36:18 +0200
commit95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf (patch)
treed34beb161272484bfb4257d4319ebae72e93a752 /phpBB/install/database_update.php
parentf71a9d369c84ec938408a2134b09ea259f6cbbab (diff)
downloadforums-95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf.tar
forums-95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf.tar.gz
forums-95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf.tar.bz2
forums-95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf.tar.xz
forums-95e1d4e9db8d2174c8ee5c6bb35be06abc57e3cf.zip
[ticket/10605] Use database updater function _sql() instead of $db->sql_query()
PHPBB3-10605
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 2a361aae26..95a0282878 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -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);