Removed __clone

pull/462/head
Tobias Reich 9 years ago
parent 84c4a5b267
commit 2f70bfac41

@ -68,12 +68,6 @@ final class Database extends Module {
}
private function __clone() {
# Magic method clone is empty to prevent duplication of connection
}
public static function connect($host = 'localhost', $user, $password) {
# Open a new connection to the MySQL server

@ -45,12 +45,6 @@ final class Plugins implements \SplSubject {
}
private function __clone() {
# Magic method clone is empty to prevent duplication of plugins
}
public function attach(\SplObserver $observer) {
if (!isset($observer)) return false;

Loading…
Cancel
Save