forked from wallabag/wallabag
remove isDeleted flag
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user