We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b9878 commit 6de85c4Copy full SHA for 6de85c4
src/Modules/DB/DBBaseModule.php
@@ -13,13 +13,11 @@
13
namespace chillerlan\bbcode\Modules\DB;
14
15
use chillerlan\bbcode\Modules\Markup\MarkupBaseModule;
16
-use chillerlan\Database\Traits\DatabaseTrait;
17
18
/**
19
*
20
*/
21
class DBBaseModule extends MarkupBaseModule{
22
- use DatabaseTrait;
23
24
25
* Holds an array of FQN strings to the current base module's children
@@ -69,7 +67,7 @@ public function __construct(){
69
67
$this->singletags = [];
70
68
71
if($this->parserOptions && $this->parserOptions->DBDriver){
72
- $this->DBDriverInterface = $this->dbconnect($this->parserOptions->DBDriver, $this->parserOptions->DBOptions);
+ $this->DBDriverInterface = new $this->parserOptions->DBDriver($this->parserOptions->DBOptions);
73
}
74
75
0 commit comments