From 1c57c2b7bdf360728abd61b19ead39e390cfb250 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 17 Mar 2013 21:47:25 +0100 Subject: Changement API : export (Uniflux) du flux public à la place du flux des favoris avec content = notes et gestion des tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/entryController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/controllers/entryController.php') diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index f5277fa6d..d812587cf 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -89,6 +89,7 @@ class entryController extends ActionController { if ($entry != false) { $values = array ( 'is_favorite' => $is_fav, + 'lastUpdate' => time () ); $entryDAO->updateEntry ($entry->id (), $values); @@ -119,7 +120,8 @@ class entryController extends ActionController { $values = array ( 'annotation' => $note, - 'is_public' => $public + 'is_public' => $public, + 'lastUpdate' => time () ); if ($entryDAO->updateEntry ($id, $values)) { -- cgit v1.2.3