diff options
| author | 2018-12-29 11:33:31 +0100 | |
|---|---|---|
| committer | 2018-12-29 11:33:31 +0100 | |
| commit | a0f1b76918e7ce038ab8ea490d9f5ed0e625831e (patch) | |
| tree | 1bdd359b245ac3841b742ece6800de776dd66a4c /app/Models/EntryDAO.php | |
| parent | 92de09bac41d320decb31e6caf2e9b78fab484f7 (diff) | |
| parent | f9555db678679d04fdc28bb2d31eb00135209a16 (diff) | |
Merge pull request #2199 from Alkarex/batch-scroll-as-read
Batch scroll as read + reducing jQuery
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) { |
