diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-02-02 17:28:07 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-02 17:36:39 +0100 |
commit | a166f6f42c1910c7987eef5597341863b2434b32 (patch) | |
tree | 5323f007bd9d1118ad742dd6f64fc76ee7e4f923 /phpBB/phpbb/notification | |
parent | 9f59aa59d92c6641308a0c1d51a5d4e41d37b2ec (diff) | |
download | forums-a166f6f42c1910c7987eef5597341863b2434b32.tar forums-a166f6f42c1910c7987eef5597341863b2434b32.tar.gz forums-a166f6f42c1910c7987eef5597341863b2434b32.tar.bz2 forums-a166f6f42c1910c7987eef5597341863b2434b32.tar.xz forums-a166f6f42c1910c7987eef5597341863b2434b32.zip |
[ticket/13569] Add missing sql_freeresults and remove unneeded results
PHPBB3-13569
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r-- | phpBB/phpbb/notification/type/post.php | 1 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/topic.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php index d9e74f2e95..421eff6372 100644 --- a/phpBB/phpbb/notification/type/post.php +++ b/phpBB/phpbb/notification/type/post.php @@ -357,6 +357,7 @@ class post extends \phpbb\notification\type\base { $tracking_data[$row['user_id']] = $row['mark_time']; } + $this->db->sql_freeresult($result); return $tracking_data; } diff --git a/phpBB/phpbb/notification/type/topic.php b/phpBB/phpbb/notification/type/topic.php index cf0ec77099..5f57087b73 100644 --- a/phpBB/phpbb/notification/type/topic.php +++ b/phpBB/phpbb/notification/type/topic.php @@ -257,6 +257,7 @@ class topic extends \phpbb\notification\type\base { $tracking_data[$row['user_id']] = $row['mark_time']; } + $this->db->sql_freeresult($result); return $tracking_data; } |