diff --git a/MysqliDb.php b/MysqliDb.php index 738d9230..e264f7a9 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -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; } /**