diff options
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 177597ba..cba58858 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -430,7 +430,7 @@ class EntryController extends Controller | |||
430 | * | 430 | * |
431 | * @return array|bool | 431 | * @return array|bool |
432 | */ | 432 | */ |
433 | public function checkIfEntryAlreadyExists($entry) | 433 | private function checkIfEntryAlreadyExists($entry) |
434 | { | 434 | { |
435 | return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId()); | 435 | return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId()); |
436 | } | 436 | } |