diff options
| author | 2012-11-05 21:40:58 +0100 | |
|---|---|---|
| committer | 2012-11-05 21:40:58 +0100 | |
| commit | 209fb252dcce8b69d05f796a914beb0e0bb7f9eb (patch) | |
| tree | 90b5e72a280f5bae15e4d7895f4f6fc9adb34fce /app/controllers/entryController.php | |
| parent | 33e47c5ac4cb622b51b0b23c7cad03d91ca1e26c (diff) | |
Fix issue #4 : ajout des retours utilisateur
Diffstat (limited to 'app/controllers/entryController.php')
| -rwxr-xr-x | app/controllers/entryController.php | 7 |
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); } |
