Commit 8fd522fd authored by Phill Sparks's avatar Phill Sparks

Refactored redis destruction

parent bbffa96c
......@@ -257,8 +257,11 @@ class Redis {
* @return void
*/
public function __destruct()
{
if ($this->connection)
{
fclose($this->connection);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment