Skip to content

Commit

Permalink
remove PageModel adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Sep 20, 2019
1 parent 453b0af commit 6e08af9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/EventListener/InheritArticleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ protected function getInheritedArticles($pid, string $column, int $level): array
// Get adapters
$controller = $this->framework->getAdapter(\Contao\Controller::class);
$articleModel = $this->framework->getAdapter(\Contao\ArticleModel::class);
$pageModel = $this->framework->getAdapter(\Contao\PageModel::class);

$t = $articleModel->getTable();
$columns = [
Expand Down

0 comments on commit 6e08af9

Please sign in to comment.