aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-06-25 11:11:23 +0200
committerGravatar GitHub <noreply@github.com> 2022-06-25 11:11:23 +0200
commit07a52137a975978dab762ac8276fd85919497013 (patch)
tree0e091565eddc3de4bb2a393ecf1a424757fc0e97 /app/Models/EntryDAO.php
parente14a72681eaf728b6a64daaf2a81b9c18562388a (diff)
Fix last update & archive logic (#4422)
#fix https://github.com/FreshRSS/FreshRSS/issues/4401
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php6
1 files changed, 6 insertions, 0 deletions
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<string> $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;