aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/EntryController.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-08-30 13:53:49 +0200
committerGitHub <noreply@github.com>2017-08-30 13:53:49 +0200
commit119e6c5edb93ab8a14fd46d04d224091542039c4 (patch)
tree521a316a60c7bd162bb52a86f55a8bf4e3c6f475 /src/Wallabag/CoreBundle/Controller/EntryController.php
parent854616ac6d6246e8e0451342ab841985b401604d (diff)
parenta991c46eedec0efb24d0a9974b1c7fcabf8cfa66 (diff)
downloadwallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.tar.gz
wallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.tar.zst
wallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.zip
Merge pull request #3330 from franek/set-starred-date
Add starred_at field which is set when an entry is starred
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index 3dcfbebe..b0b74c38 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -333,6 +333,7 @@ class EntryController extends Controller
333 $this->checkUserAction($entry); 333 $this->checkUserAction($entry);
334 334
335 $entry->toggleStar(); 335 $entry->toggleStar();
336 $entry->updateStar($entry->isStarred());
336 $this->getDoctrine()->getManager()->flush(); 337 $this->getDoctrine()->getManager()->flush();
337 338
338 $message = 'flashes.entry.notice.entry_unstarred'; 339 $message = 'flashes.entry.notice.entry_unstarred';