summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rwxr-xr-xapp/controllers/configureController.php2
-rwxr-xr-xapp/controllers/feedController.php10
-rwxr-xr-xapp/controllers/indexController.php2
3 files changed, 7 insertions, 7 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index b91582520..abd546504 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -244,7 +244,7 @@ class configureController extends ActionController {
Request::_param ('feeds', $feeds);
Request::forward (array ('c' => 'feed', 'a' => 'massiveImport'));
} catch (OpmlException $e) {
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
$notif = array (
'type' => 'bad',
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php
index 4631e1e7e..21ea2aadd 100755
--- a/app/controllers/feedController.php
+++ b/app/controllers/feedController.php
@@ -86,14 +86,14 @@ class feedController extends ActionController {
$params['id'] = $feed->id ();
}
} catch (BadUrlException $e) {
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
$notif = array (
'type' => 'bad',
'content' => Translate::t ('invalid_url', $url)
);
Session::_param ('notification', $notif);
} catch (FeedException $e) {
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
$notif = array (
'type' => 'bad',
'content' => Translate::t ('internal_problem_feed')
@@ -101,7 +101,7 @@ class feedController extends ActionController {
Session::_param ('notification', $notif);
} catch (FileNotExistException $e) {
// Répertoire de cache n'existe pas
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
$notif = array (
'type' => 'bad',
'content' => Translate::t ('internal_problem_feed')
@@ -160,7 +160,7 @@ class feedController extends ActionController {
$feedDAO->updateLastUpdate ($feed->id ());
$flux_update++;
} catch (FeedException $e) {
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
$feedDAO->isInError ($feed->id ());
}
@@ -264,7 +264,7 @@ class feedController extends ActionController {
}
} catch (FeedException $e) {
$error = true;
- Log::record ($e->getMessage (), Log::ERROR);
+ Minz_Log::record ($e->getMessage (), Minz_Log::ERROR);
}
}
diff --git a/app/controllers/indexController.php b/app/controllers/indexController.php
index 594d379fb..d23db01a3 100755
--- a/app/controllers/indexController.php
+++ b/app/controllers/indexController.php
@@ -59,7 +59,7 @@ class indexController extends ActionController {
$this->view->entryPaginator = $entries;
} catch(EntriesGetterException $e) {
- Log::record ($e->getMessage (), Log::NOTICE);
+ Minz_Log::record ($e->getMessage (), Minz_Log::NOTICE);
Error::error (
404,
array ('error' => array (Translate::t ('page_not_found')))