1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/13569] Add missing sql_freeresults and remove unneeded results
This commit is contained in:
Andreas Fischer
2015-02-03 17:38:02 +01:00
6 changed files with 7 additions and 2 deletions

View File

@@ -154,6 +154,6 @@ class db_text
$sql = 'DELETE
FROM ' . $this->table . '
WHERE ' . $this->db->sql_in_set('config_name', $keys, false, true);
$result = $this->db->sql_query($sql);
$this->db->sql_query($sql);
}
}

View File

@@ -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;
}

View File

@@ -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;
}