diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2015-02-03 17:38:00 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2015-02-03 17:38:00 +0100 |
| commit | 2864e77d6c480f8424de962dd0570185c049a9af (patch) | |
| tree | 6202e3c5991eb0319d988e07a5b587f1088b2277 /phpBB/phpbb/notification | |
| parent | 427d2de3ea345715506d048d0ef4c29b4191a908 (diff) | |
| parent | a166f6f42c1910c7987eef5597341863b2434b32 (diff) | |
| download | forums-2864e77d6c480f8424de962dd0570185c049a9af.tar forums-2864e77d6c480f8424de962dd0570185c049a9af.tar.gz forums-2864e77d6c480f8424de962dd0570185c049a9af.tar.bz2 forums-2864e77d6c480f8424de962dd0570185c049a9af.tar.xz forums-2864e77d6c480f8424de962dd0570185c049a9af.zip | |
Merge pull request #3361 from marc1706/ticket/13569
[ticket/13569] Add missing sql_freeresults and remove unneeded results
* marc1706/ticket/13569:
[ticket/13569] Add missing sql_freeresults and remove unneeded results
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; } |
