A free, self-hostable news aggregator…
Remove STATE_STRICT
Marien Fressinaud8a6ad05ebacb
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.phpindex 9a7870000..cafd0e8a8 100755--- a/app/Controllers/configureController.php+++ b/app/Controllers/configureController.php@@ -338,9 +338,6 @@ class FreshRSS_configure_Controller extends Minz_ActionController {unset($query[$key]);}}- if (!empty($query['state']) && $query['state'] & FreshRSS_Entry::STATE_STRICT) {- $query['state'] -= FreshRSS_Entry::STATE_STRICT;- }$queries[] = $query;FreshRSS_Context::$conf->_queries($queries);FreshRSS_Context::$conf->save();diff --git a/app/Models/Entry.php b/app/Models/Entry.phpindex ee94d1110..346c98a92 100644--- a/app/Models/Entry.php+++ b/app/Models/Entry.php@@ -1,12 +1,11 @@<?phpclass FreshRSS_Entry extends Minz_Model {- const STATE_ALL = 0;const STATE_READ = 1;const STATE_NOT_READ = 2;+ const STATE_ALL = 3;const STATE_FAVORITE = 4;const STATE_NOT_FAVORITE = 8;- const STATE_STRICT = 16;private $id = 0;private $guid;diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 5a136499a..5d2909c62 100644--- a/app/Models/EntryDAO.php+++ b/app/Models/EntryDAO.php@@ -333,8 +333,6 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {if ($state & FreshRSS_Entry::STATE_NOT_READ) {if (!($state & FreshRSS_Entry::STATE_READ)) {$where .= 'AND e1.is_read=0 ';- } elseif ($state & FreshRSS_Entry::STATE_STRICT) {- $where .= 'AND e1.is_read=0 ';}}elseif ($state & FreshRSS_Entry::STATE_READ) {