aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/entryController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-17 21:47:25 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-17 21:47:25 +0100
commit1c57c2b7bdf360728abd61b19ead39e390cfb250 (patch)
treeb70415fd04998ed9418ce52c0484b50b0522c9e1 /app/controllers/entryController.php
parentcaf8d18c1d887f0c918ba181d1c48d9e08af6ea0 (diff)
Changement API : export (Uniflux) du flux public à la place du flux des favoris avec content = notes et gestion des tags
Diffstat (limited to 'app/controllers/entryController.php')
-rwxr-xr-xapp/controllers/entryController.php4
1 files changed, 3 insertions, 1 deletions
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)) {