diff options
author | Olivier Mehani <shtrom@ssji.net> | 2019-05-02 21:19:20 +1000 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-24 15:17:45 +0200 |
commit | 31e276fc1636b41b03b7c29127681de257c16b06 (patch) | |
tree | 7858796dcd094b5a61b38ddd3b7d84f5ea880b17 /.php_cs | |
parent | 65b495e75b1d36894dd18133d3bf967a74e0b8de (diff) | |
download | wallabag-31e276fc1636b41b03b7c29127681de257c16b06.tar.gz wallabag-31e276fc1636b41b03b7c29127681de257c16b06.tar.zst wallabag-31e276fc1636b41b03b7c29127681de257c16b06.zip |
EntryRestController::getEntriesExistsAction: always find by hashed url
Simplify the logic from #3158 by hashing all the urls from the request,
and only doing a search by hash. This allows to get performance benefits
from the new indexed hash column even when using older clients that do
not hash the URL in the request.
Fixes: #3158, #3919
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Diffstat (limited to '.php_cs')
0 files changed, 0 insertions, 0 deletions