mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Use hash given url to avoid duplicate
Using hashed url we can ensure an index on them to ensure it's fast.
This commit is contained in:
parent
b7fa51ae7d
commit
f3bfb875e9
6 changed files with 134 additions and 132 deletions
|
@ -76,9 +76,10 @@ class ContentProxy
|
|||
// Not sure what are the other possible cases where this property is empty
|
||||
if (empty($entry->getUrl()) && !empty($url)) {
|
||||
$entry->setUrl($url);
|
||||
$entry->setGivenUrl($url);
|
||||
}
|
||||
|
||||
$entry->setGivenUrl($url);
|
||||
|
||||
$this->stockEntry($entry, $content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue