aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-19 21:19:45 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-19 21:19:45 +0100
commit6b7d96d0ea97579720ee6d560224cd80c2329d07 (patch)
treee11ef15bbbece23df6f4bc44e424922cf87a55c5 /app/Controllers
parent3280b14ed6208a672c4c86878e3b80e3fcb14c32 (diff)
Refactorisation : correction classes oubliées
Diffstat (limited to 'app/Controllers')
-rwxr-xr-xapp/Controllers/indexController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 22c5683ea..e3c253518 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -77,7 +77,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
return;
}
- $this->view->nb_not_read = HelperCategory::CountUnreads($this->view->cat_aside, 1);
+ $this->view->nb_not_read = FreshRSS_CategoryDAO::CountUnreads($this->view->cat_aside, 1);
// mise à jour des titres
$this->view->rss_title = $this->view->currentName . ' | ' . Minz_View::title();
@@ -112,7 +112,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
$hasUnread = (!isset($this->view->cat_aside[$getId])) || ($this->view->cat_aside[$getId]->nbNotRead() > 0);
break;
case 'f':
- $myFeed = HelperCategory::findFeed($this->view->cat_aside, $getId);
+ $myFeed = FreshRSS_CategoryDAO::findFeed($this->view->cat_aside, $getId);
$hasUnread = ($myFeed === null) || ($myFeed->nbNotRead() > 0);
break;
default:
@@ -188,7 +188,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
return false;
}
case 'f':
- $feed = HelperCategory::findFeed($this->view->cat_aside, $getId);
+ $feed = FreshRSS_CategoryDAO::findFeed($this->view->cat_aside, $getId);
if (empty($feed)) {
$feed = $this->feedDAO->searchById ($getId);
}