aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-04-13 08:16:43 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-04-13 08:16:43 -0400
commit3a736e902c5af7f215bbf91dc54be00bf82f8df3 (patch)
treec816621869648d7fc541e2b21b132e6f0b45a25f /p/api/greader.php
parent1e032608a61c29a29d418451018b3eb86843f8cf (diff)
Move state constants from Configuration to Entry
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 9836f2f02..8a8623966 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -353,10 +353,10 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex
switch ($exclude_target) {
case 'user/-/state/com.google/read':
- $state = FreshRSS_Configuration::STATE_NOT_READ;
+ $state = FreshRSS_Entry::STATE_NOT_READ;
break;
default:
- $state = FreshRSS_Configuration::STATE_ALL;
+ $state = FreshRSS_Entry::STATE_ALL;
break;
}
@@ -451,10 +451,10 @@ function streamContentsItemsIds($streamId, $start_time, $count, $order, $exclude
switch ($exclude_target) {
case 'user/-/state/com.google/read':
- $state = FreshRSS_Configuration::STATE_NOT_READ;
+ $state = FreshRSS_Entry::STATE_NOT_READ;
break;
default:
- $state = FreshRSS_Configuration::STATE_ALL;
+ $state = FreshRSS_Entry::STATE_ALL;
break;
}