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:
parent
aa4d6562c1
commit
1d14779154
6 changed files with 23 additions and 62 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue