aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-09-06 14:11:51 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 18:58:22 +0200
commit30303647f06300ea9bea31abf66bad651e92b722 (patch)
treef3ef32dfc5bc9e75ecbd541e5c367fb9d70ed6c2 /phpBB/phpbb/db
parent284368b9d64d5a3ae1854a5f319873016a0c2cea (diff)
downloadforums-30303647f06300ea9bea31abf66bad651e92b722.tar
forums-30303647f06300ea9bea31abf66bad651e92b722.tar.gz
forums-30303647f06300ea9bea31abf66bad651e92b722.tar.bz2
forums-30303647f06300ea9bea31abf66bad651e92b722.tar.xz
forums-30303647f06300ea9bea31abf66bad651e92b722.zip
[ticket/15744] Remove useless sql_freeresults
PHPBB3-15744
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php b/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php
index 90c2fe7400..11dc43483b 100644
--- a/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php
+++ b/phpBB/phpbb/db/migration/data/v330/remove_attachment_flash.php
@@ -74,13 +74,11 @@ class remove_attachment_flash extends \phpbb\db\migration\migration
WHERE ' . $this->db->sql_in_set('group_id', $group_ids);
}
- $result = $this->db->sql_query($sql);
- $this->db->sql_freeresult($result);
+ $this->db->sql_query($sql);
// delete the now empty, outdated media extension groups
$sql = 'DELETE FROM ' . EXTENSION_GROUPS_TABLE . '
WHERE ' . $this->db->sql_in_set('group_id', $group_ids);
- $result = $this->db->sql_query($sql);
- $this->db->sql_freeresult($result);
+ $this->db->sql_query($sql);
}
}