Skip to content

Commit

Permalink
Revert "Now getInstance function will create new MysqliDb object if (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
avbdr committed Aug 24, 2019
1 parent 4f2a93d commit 03dbce1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions MysqliDb.php
Expand Up @@ -428,11 +428,7 @@ public function mysqli()
*/
public static function getInstance()
{
if(isset(self::$_instance)) {
return self::$_instance;
} else {
return new MysqliDb();
}
return self::$_instance;
}

/**
Expand Down

0 comments on commit 03dbce1

Please sign in to comment.