mirror of
https://github.com/dg/dibi.git
synced 2025-02-22 09:53:11 +01:00
removed dibi::$defaultDriver (BC break)
This commit is contained in:
parent
2d523f6034
commit
ccc035c8fb
@ -76,7 +76,7 @@ class Connection
|
||||
Helpers::alias($config, 'result|formatDateTime', 'resultDateTime');
|
||||
|
||||
if (!isset($config['driver'])) {
|
||||
$config['driver'] = \dibi::$defaultDriver;
|
||||
$config['driver'] = 'mysqli';
|
||||
}
|
||||
|
||||
if ($config['driver'] instanceof Driver) {
|
||||
|
@ -64,9 +64,6 @@ class dibi
|
||||
/** @var int Number or queries */
|
||||
public static $numOfQueries = 0;
|
||||
|
||||
/** @var string Default dibi driver */
|
||||
public static $defaultDriver = 'mysqli';
|
||||
|
||||
/** @var Dibi\Connection[] Connection registry storage for Dibi\Connection objects */
|
||||
private static $registry = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user