mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:15:55 +00:00
remove support for legacy mysql driver
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user