diff options
| author | 2014-04-13 07:35:17 -0400 | |
|---|---|---|
| committer | 2014-04-13 07:35:17 -0400 | |
| commit | cd87e2000a4e49271d30b1ef04a4e4d6e58119cb (patch) | |
| tree | 8a73c787d9e205a261039e3ef365f196e9c4b224 /app/Controllers | |
| parent | 86066b1659e33eb5fdfbcae5fb7f0bd93604d442 (diff) | |
Revert deletion of the favorite actions
Diffstat (limited to 'app/Controllers')
| -rwxr-xr-x | app/Controllers/indexController.php | 4 |
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; |
