forked from wallabag/wallabag
Change visibility of checkIfEntryAlreadyExists method to private
This commit is contained in:
@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user