mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +00:00
User existing service instead of getDoctrine
This commit is contained in:
parent
80784b782b
commit
25203e5081
8 changed files with 32 additions and 37 deletions
|
@ -66,7 +66,7 @@ class RssController extends Controller
|
|||
*/
|
||||
private function showEntries($type, User $user, $page = 1)
|
||||
{
|
||||
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entry');
|
||||
$repository = $this->get('wallabag_core.entry_repository');
|
||||
|
||||
switch ($type) {
|
||||
case 'starred':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue