mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-06 23:48:48 +00:00
Change visibility of checkIfEntryAlreadyExists method to private
This commit is contained in:
parent
b00a89e08f
commit
834efe84ac
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ class EntryController extends Controller
|
||||||
*
|
*
|
||||||
* @return array|bool
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
public function checkIfEntryAlreadyExists($entry)
|
private function checkIfEntryAlreadyExists($entry)
|
||||||
{
|
{
|
||||||
return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId());
|
return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue