]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/EntryController.php
Rename method from *username to *user
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / EntryController.php
index f7398e69ed939bcbcc4a6244b689975c14948a33..8d2ac6d4cf144fd515bf347ec1d0dfa12beb725d 100644 (file)
@@ -227,7 +227,7 @@ class EntryController extends Controller
     public function showUnreadAction(Request $request, $page)
     {
         // load the quickstart if no entry in database
-        if ($page == 1 && $this->get('wallabag_core.entry_repository')->countAllEntriesByUsername($this->getUser()->getId()) == 0) {
+        if ($page == 1 && $this->get('wallabag_core.entry_repository')->countAllEntriesByUser($this->getUser()->getId()) == 0) {
             return $this->redirect($this->generateUrl('quickstart'));
         }