aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/entryController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-11-05 21:40:58 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-11-05 21:40:58 +0100
commit209fb252dcce8b69d05f796a914beb0e0bb7f9eb (patch)
tree90b5e72a280f5bae15e4d7895f4f6fc9adb34fce /app/controllers/entryController.php
parent33e47c5ac4cb622b51b0b23c7cad03d91ca1e26c (diff)
Fix issue #4 : ajout des retours utilisateur
Diffstat (limited to 'app/controllers/entryController.php')
-rwxr-xr-xapp/controllers/entryController.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php
index cf510e362..ca702191f 100755
--- a/app/controllers/entryController.php
+++ b/app/controllers/entryController.php
@@ -40,6 +40,13 @@ class entryController extends ActionController {
$entryDAO = new EntryDAO ();
if ($id == false) {
$entryDAO->updateEntries ($values);
+
+ // notif
+ $notif = array (
+ 'type' => 'good',
+ 'content' => 'Tous les flux ont été marqués comme lu'
+ );
+ Session::_param ('notification', $notif);
} else {
$entryDAO->updateEntry ($id, $values);
}