summaryrefslogtreecommitdiff
path: root/app/App_FrontController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 18:22:41 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 18:22:41 +0100
commit58cb842966f437a44f58644439f513b94f9dccac (patch)
tree8c240fbca7b38c69f62c8f7a1607b8eb699e1af6 /app/App_FrontController.php
parentfa92430b1f247ee335a9b8b553c2a622574cae08 (diff)
Suppression multiples requêtes count
Suppression de plusieurs requêtes count inutiles (genre `$entryDAO->countNotRead()` avant un UPDATE), et suppression de l'affichage du nombre d'articles total. Corrige https://github.com/marienfressinaud/FreshRSS/issues/246
Diffstat (limited to 'app/App_FrontController.php')
-rw-r--r--app/App_FrontController.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/App_FrontController.php b/app/App_FrontController.php
index 5569d73a3..950956555 100644
--- a/app/App_FrontController.php
+++ b/app/App_FrontController.php
@@ -43,10 +43,6 @@ class App_FrontController extends FrontController {
private function loadParamsView () {
$this->conf = Session::param ('conf', new RSSConfiguration ());
View::_param ('conf', $this->conf);
-
- $entryDAO = new EntryDAO ();
- View::_param ('nb_not_read', $entryDAO->countNotRead ());
-
Session::_param ('language', $this->conf->language ());
}