aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-22 18:33:46 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-22 18:33:46 +0200
commit8a6ad05ebacb6bf6c0f6afd0afe54a29a0a18ee9 (patch)
tree7b7f84f6cc3e4278ee18f7afd4e272a31cd9e5d7 /app/Models
parent9551145200b61717fdeb11007e1da541ddf93f0f (diff)
Remove STATE_STRICT
See https://github.com/marienfressinaud/FreshRSS/issues/634
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Entry.php3
-rw-r--r--app/Models/EntryDAO.php2
2 files changed, 1 insertions, 4 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index ee94d1110..346c98a92 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -1,12 +1,11 @@
<?php
class 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.php
index 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) {