diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-24 15:15:12 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-24 15:17:46 +0200 |
commit | 0132ccd2a2e73a831fa198940c369bcdd5249e8b (patch) | |
tree | 1628ff3cecb2054d7abe21765af6ccda967d274d /src/Wallabag/CoreBundle/Repository/EntryRepository.php | |
parent | 4a5516376bf4c8b0cdc1e81d24ce1cca68425785 (diff) | |
download | wallabag-0132ccd2a2e73a831fa198940c369bcdd5249e8b.tar.gz wallabag-0132ccd2a2e73a831fa198940c369bcdd5249e8b.tar.zst wallabag-0132ccd2a2e73a831fa198940c369bcdd5249e8b.zip |
Change the way to define algorithm for hashing url
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository/EntryRepository.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 37fc1000..7c4a05ed 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -351,7 +351,8 @@ class EntryRepository extends EntityRepository | |||
351 | { | 351 | { |
352 | return $this->findByHashedUrlAndUserId( | 352 | return $this->findByHashedUrlAndUserId( |
353 | UrlHasher::hashUrl($url), | 353 | UrlHasher::hashUrl($url), |
354 | $userId); | 354 | $userId |
355 | ); | ||
355 | } | 356 | } |
356 | 357 | ||
357 | /** | 358 | /** |