Skip to content

Commit

Permalink
Merge pull request #11049 from cakephp/bugfix/master-connection
Browse files Browse the repository at this point in the history
Removing the destructor to prevent notices on reuse.
  • Loading branch information
lorenzo committed Aug 16, 2017
2 parents 11b195e + 0c27a85 commit fb68e96
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Database/Connection.php
Expand Up @@ -120,16 +120,6 @@ public function __construct($config)
}
}

/**
* Destructor
*
* Disconnects the driver to release the connection.
*/
public function __destruct()
{
unset($this->_driver);
}

/**
* {@inheritDoc}
*/
Expand Down

0 comments on commit fb68e96

Please sign in to comment.