diff options
| author | 2022-06-25 11:11:23 +0200 | |
|---|---|---|
| committer | 2022-06-25 11:11:23 +0200 | |
| commit | 07a52137a975978dab762ac8276fd85919497013 (patch) | |
| tree | 0e091565eddc3de4bb2a393ecf1a424757fc0e97 /app/Models/EntryDAO.php | |
| parent | e14a72681eaf728b6a64daaf2a81b9c18562388a (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.php | 6 |
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; |
