summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-30 10:25:52 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-30 10:26:00 +0100
commit4c390fa6b045d145fcc79efc9e77b06ff40df08c (patch)
treecc9ce68013317503f54c55058c25143630028da2 /db
parentd03ec062f15125d84e369a39e66814253c02f5a1 (diff)
dont generate guid hash by hashing the guid since picofeed already hashes the guid in all cases
Diffstat (limited to 'db')
-rw-r--r--db/item.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index 8a8b19e59..452075d05 100644
--- a/db/item.php
+++ b/db/item.php
@@ -204,7 +204,9 @@ class Item extends Entity implements IAPI, \JsonSerializable {
public function setGuid($guid) {
parent::setGuid($guid);
- $this->setGuidHash(md5($guid));
+
+ // not needed to hash again because picofeed hashes the id anyways
+ $this->setGuidHash($guid);
}