aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
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 741c4fbd4..9836f2f02 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 = 'not_read';
+ $state = FreshRSS_Configuration::STATE_NOT_READ;
break;
default:
- $state = 'all';
+ $state = FreshRSS_Configuration::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 = 'not_read';
+ $state = FreshRSS_Configuration::STATE_NOT_READ;
break;
default:
- $state = 'all';
+ $state = FreshRSS_Configuration::STATE_ALL;
break;
}