From 07a52137a975978dab762ac8276fd85919497013 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 25 Jun 2022 11:11:23 +0200 Subject: Fix last update & archive logic (#4422) #fix https://github.com/FreshRSS/FreshRSS/issues/4401 --- app/Models/EntryDAO.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 426c294c4..d87f3b7c4 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -1170,6 +1170,12 @@ SQL; } } + /** + * @param int $id_feed + * @param array $guids + * @param int $mtime + * @return int|false The number of affected feeds, or false if error + */ public function updateLastSeen($id_feed, $guids, $mtime = 0) { if (count($guids) < 1) { return 0; -- cgit v1.2.3