diff options
| author | 2018-12-25 01:30:28 +0100 | |
|---|---|---|
| committer | 2018-12-25 01:30:28 +0100 | |
| commit | 4888f919f104b2d170302565e481a0b731eb4145 (patch) | |
| tree | ff2a452f726686a259b565fc2fa036fab695d040 /app/Models/EntryDAO.php | |
| parent | 06ea2626e804dd24c2d84fa26c8febf29ef3d357 (diff) | |
Prepare for batch mark as read
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 6d77a33cd..9ae1ed797 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -383,7 +383,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { */ public function markRead($ids, $is_read = true) { FreshRSS_UserDAO::touch(); - if (is_array($ids)) { //Many IDs at once (used by API) + if (is_array($ids)) { //Many IDs at once if (count($ids) < 6) { //Speed heuristics $affected = 0; foreach ($ids as $id) { |
