aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-16 22:41:03 +0100
commit4a2b17d54ab3714c4f567a43a7a2e701cd9a7b49 (patch)
treed3fa2b91aaa334a8e16f0aaa33aa144f282219c6 /app/controllers/indexController.php
parente13c6439d5ed02d1fe19ece070445f5f58b63e44 (diff)
Minz : nouveau Minz_Log::DEBUG
Nouveau niveau Minz_Log::DEBUG pour plus de finesse dans les messages
Diffstat (limited to 'app/controllers/indexController.php')
-rwxr-xr-xapp/controllers/indexController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 10c29bc7b..224d6fb9e 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -123,7 +123,7 @@ class indexController extends ActionController {
// Si on a récupéré aucun article "non lus"
// on essaye de récupérer tous les articles
if ($state === 'not_read' && $entries->isEmpty ()) { //TODO: Remove in v0.8
- Minz_Log::record ('Conflicting information about nbNotRead!', Minz_Log::NOTICE); //TODO: Consider adding a Minz_Log::DEBUG level
+ Minz_Log::record ('Conflicting information about nbNotRead!', Minz_Log::DEBUG);
$this->view->state = 'all';
$getter->_state ('all');
$getter->execute ();
@@ -131,7 +131,7 @@ class indexController extends ActionController {
}
$this->view->entryPaginator = $entries;
- } catch(EntriesGetterException $e) {
+ } catch (EntriesGetterException $e) {
Minz_Log::record ($e->getMessage (), Minz_Log::NOTICE);
Error::error (
404,