aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-10 14:20:39 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-10 14:20:39 +0200
commit834efe84ace29c882a4a07d11446e0b20fb23d47 (patch)
tree2f715b28546209eae06f90e5e0197e7b87562eee /src
parentb00a89e08f8811297cf81f71ead1433a101d5737 (diff)
downloadwallabag-834efe84ace29c882a4a07d11446e0b20fb23d47.tar.gz
wallabag-834efe84ace29c882a4a07d11446e0b20fb23d47.tar.zst
wallabag-834efe84ace29c882a4a07d11446e0b20fb23d47.zip
Change visibility of checkIfEntryAlreadyExists method to private
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php2
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 }