1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

remove isDeleted flag

This commit is contained in:
Nicolas Lœuillet 2015-02-20 15:36:25 +01:00
parent aa4d6562c1
commit 1d14779154
6 changed files with 23 additions and 62 deletions

View file

@ -192,8 +192,9 @@ class EntryController extends Controller
{
$this->checkUserAction($entry);
$entry->setDeleted(1);
$this->getDoctrine()->getManager()->flush();
$em = $this->getDoctrine()->getManager();
$em->remove($entry);
$em->flush();
$this->get('session')->getFlashBag()->add(
'notice',