summaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-04-13 07:35:17 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-04-13 07:35:17 -0400
commitcd87e2000a4e49271d30b1ef04a4e4d6e58119cb (patch)
tree8a73c787d9e205a261039e3ef365f196e9c4b224 /app/Controllers
parent86066b1659e33eb5fdfbcae5fb7f0bd93604d442 (diff)
Revert deletion of the favorite actions
Diffstat (limited to 'app/Controllers')
-rwxr-xr-xapp/Controllers/indexController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 48471b480..52dd01e0a 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -96,6 +96,10 @@ class FreshRSS_index_Controller extends Minz_ActionController {
case 'a':
$hasUnread = $this->view->nb_not_read > 0;
break;
+ case 's':
+ // This is deprecated. The favorite button does not exist anymore
+ $hasUnread = $this->view->nb_favorites['unread'] > 0;
+ break;
case 'c':
$hasUnread = (!isset($this->view->cat_aside[$getId])) || ($this->view->cat_aside[$getId]->nbNotRead() > 0);
break;