diff options
| author | 2013-03-17 21:47:25 +0100 | |
|---|---|---|
| committer | 2013-03-17 21:47:25 +0100 | |
| commit | 1c57c2b7bdf360728abd61b19ead39e390cfb250 (patch) | |
| tree | b70415fd04998ed9418ce52c0484b50b0522c9e1 /app/controllers/entryController.php | |
| parent | caf8d18c1d887f0c918ba181d1c48d9e08af6ea0 (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-x | app/controllers/entryController.php | 4 |
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)) { |
