diff options
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/loadfeed.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ajax/loadfeed.php b/ajax/loadfeed.php index 8fc841277..2c03fc889 100644 --- a/ajax/loadfeed.php +++ b/ajax/loadfeed.php @@ -20,6 +20,10 @@ $userid = OCP\USER::getUser(); $feedId = $_POST['id']; $feedType = $_POST['type']; +$mostRecentItemId = $_POST['mostRecentItemId']; +$mostRecentItemTimestamp = $_POST['mostRecentItemTimestamp']; + + OCP\Config::setUserValue(OCP\USER::getUser(), 'news', 'lastViewedFeed', $feedId); OCP\Config::setUserValue(OCP\USER::getUser(), 'news', 'lastViewedFeedType', $feedType); |