From 86066b1659e33eb5fdfbcae5fb7f0bd93604d442 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sun, 13 Apr 2014 07:28:41 -0400 Subject: Add a new status for 'ALL' I made the conversion in every file I can think of. It should not have any reference to the string 'all' for the state context --- p/api/greader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'p/api/greader.php') 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; } -- cgit v1.2.3