Skip to content

Commit

Permalink
Removing the destructor to prevent notices on reuse.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Aug 16, 2017
1 parent bf64092 commit 0c27a85
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 0c27a85

Please sign in to comment.