A free, self-hostable news aggregator…
First bug for old articles first
Alexandre Alapetite65d6796e9244
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 74b5306e9..a9ffa138b 100644--- a/app/Models/EntryDAO.php+++ b/app/Models/EntryDAO.php@@ -175,7 +175,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {public function markReadEntries($idMax = 0, $onlyFavorites = false, $priorityMin = 0) {if ($idMax == 0) {$idMax = time() . '000000';- Minz_Log::record($nb . 'Calling markReadEntries(0) is deprecated!', Minz_Log::DEBUG);+ Minz_Log::record('Calling markReadEntries(0) is deprecated!', Minz_Log::DEBUG);}$sql = 'UPDATE `' . $this->prefix . 'entry` e INNER JOIN `' . $this->prefix . 'feed` f ON e.id_feed=f.id '@@ -203,7 +203,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {public function markReadCat($id, $idMax = 0) {if ($idMax == 0) {$idMax = time() . '000000';- Minz_Log::record($nb . 'Calling markReadCat(0) is deprecated!', Minz_Log::DEBUG);+ Minz_Log::record('Calling markReadCat(0) is deprecated!', Minz_Log::DEBUG);}$sql = 'UPDATE `' . $this->prefix . 'entry` e INNER JOIN `' . $this->prefix . 'feed` f ON e.id_feed=f.id '@@ -226,7 +226,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {public function markReadFeed($id, $idMax = 0) {if ($idMax == 0) {$idMax = time() . '000000';- Minz_Log::record($nb . 'Calling markReadFeed(0) is deprecated!', Minz_Log::DEBUG);+ Minz_Log::record('Calling markReadFeed(0) is deprecated!', Minz_Log::DEBUG);}$this->bd->beginTransaction();diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.phpindex 3dabce4b2..9dc395c3c 100644--- a/app/Models/EntryDAOSQLite.php+++ b/app/Models/EntryDAOSQLite.php@@ -72,7 +72,7 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO {public function markReadEntries($idMax = 0, $onlyFavorites = false, $priorityMin = 0) {if ($idMax == 0) {$idMax = time() . '000000';- Minz_Log::record($nb . 'Calling markReadEntries(0) is deprecated!', Minz_Log::DEBUG);+ Minz_Log::record('Calling markReadEntries(0) is deprecated!', Minz_Log::DEBUG);}$sql = 'UPDATE `' . $this->prefix . 'entry` SET is_read=1 WHERE is_read=0 AND id <= ?';@@ -98,7 +98,7 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO {public function markReadCat($id, $idMax = 0) {if ($idMax == 0) {$idMax = time() . '000000';- Minz_Log::record($nb . 'Calling markReadCat(0) is deprecated!', Minz_Log::DEBUG);+ Minz_Log::record('Calling markReadCat(0) is deprecated!', Minz_Log::DEBUG);}$sql = 'UPDATE `' . $this->prefix . 'entry` '