forked from wallabag/wallabag
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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user