diff options
author | Andrew Dolgov <[email protected]> | 2016-08-21 14:03:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-08-21 14:03:35 +0300 |
commit | e54eb40a8c1ec9fe9387611d890d195f511a4180 (patch) | |
tree | 93000c8799b2f0b5e5a79238485b00afb476abde /classes/db.php | |
parent | a005ebb693fe9ad01eb2cb2293e75c589a00d6a0 (diff) |
remove support for legacy mysql driver
Diffstat (limited to 'classes/db.php')
-rw-r--r-- | classes/db.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/db.php b/classes/db.php index 8d2f89516..c7d6da910 100644 --- a/classes/db.php +++ b/classes/db.php @@ -13,11 +13,7 @@ class Db implements IDb { } else { switch (DB_TYPE) { case "mysql": - if (function_exists("mysqli_connect")) { - $this->adapter = new Db_Mysqli(); - } else { - $this->adapter = new Db_Mysql(); - } + $this->adapter = new Db_Mysqli(); break; case "pgsql": $this->adapter = new Db_Pgsql(); |