From 02ae36eba33a5e0957defd4619d337bfdd0c178f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 27 Mar 2013 12:26:04 +0100 Subject: 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 --- bl/itembl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bl/itembl.php') 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); } -- cgit v1.2.3