diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-27 12:26:04 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-27 12:26:04 +0100 |
commit | 02ae36eba33a5e0957defd4619d337bfdd0c178f (patch) | |
tree | d80f58cdf9eb774d00fc5fc322bf0750b644dab2 /bl/itembl.php | |
parent | 89a1713f062cc78b727c6240a91408d91611dbab (diff) |
fixed mark all unread serverside (was missing highestitemid, dont use lastmodified to compare for new versions but use the highest item id. if items are updated and the guidHash and feedId are the same then it will be deleted and newly inserted to make the lastmodified feasable
Diffstat (limited to 'bl/itembl.php')
-rw-r--r-- | bl/itembl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bl/itembl.php b/bl/itembl.php index 332a51774..3c8649201 100644 --- a/bl/itembl.php +++ b/bl/itembl.php @@ -112,8 +112,8 @@ class ItemBl extends Bl { } - public function readFeed($feedId, $userId){ - $this->mapper->readFeed($feedId, $userId); + public function readFeed($feedId, $highestItemId, $userId){ + $this->mapper->readFeed($feedId, $highestItemId, $userId); } |