diff --git a/Controller.php b/Controller.php index f221d1e..887b1fa 100644 --- a/Controller.php +++ b/Controller.php @@ -306,10 +306,6 @@ class Controller extends ModuleAbstract implements WebInterface ->offset($offset) ->limit($limit); - if (isset($account)) { - $query->where('account_permission.account_permission_account', '=', $account->getId()); - } - return NewsArticleMapper::getAllByQuery($query); } @@ -335,10 +331,6 @@ class Controller extends ModuleAbstract implements WebInterface ->offset($offset) ->limit($limit); - if (isset($account)) { - $query->where('account_permission.account_permission_account', '=', $account->getId()); - } - return NewsArticleMapper::getAllByQuery($query); }