Skip to content

Commit

Permalink
Remove reference to dbfactory
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Dec 17, 2014
1 parent 4970749 commit 5ebb079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Logic/Logic.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ abstract class Logic {
protected $db;
protected $content;

public function __construct($apiFactory, $dbFactory, $content) {
public function __construct($apiFactory, $content) {
$this->api = $apiFactory;
$this->db = $dbFactory;
$this->content = $content;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Logic/PageLogic.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class PageLogic extends Logic {
* @return void
*/
public function __construct($apiFactory, $content) {
parent::__construct($apiFactory, $dbFactory, $content);
parent::__construct($apiFactory, $content);
$this->document = $content;
$this->dom = $this->document;

Expand Down

0 comments on commit 5ebb079

Please sign in to comment.