Skip to content

Commit 6de85c4

Browse files
committed
missed one...
1 parent f0b9878 commit 6de85c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Modules/DB/DBBaseModule.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
namespace chillerlan\bbcode\Modules\DB;
1414

1515
use chillerlan\bbcode\Modules\Markup\MarkupBaseModule;
16-
use chillerlan\Database\Traits\DatabaseTrait;
1716

1817
/**
1918
*
2019
*/
2120
class DBBaseModule extends MarkupBaseModule{
22-
use DatabaseTrait;
2321

2422
/**
2523
* Holds an array of FQN strings to the current base module's children
@@ -69,7 +67,7 @@ public function __construct(){
6967
$this->singletags = [];
7068

7169
if($this->parserOptions && $this->parserOptions->DBDriver){
72-
$this->DBDriverInterface = $this->dbconnect($this->parserOptions->DBDriver, $this->parserOptions->DBOptions);
70+
$this->DBDriverInterface = new $this->parserOptions->DBDriver($this->parserOptions->DBOptions);
7371
}
7472

7573
}

0 commit comments

Comments
 (0)