mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/13569] Add missing sql_freeresults and remove unneeded results
PHPBB3-13569
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user