cleanup code
This commit is contained in:
parent
fcd9288e60
commit
059d67cdb9
|
@ -83,8 +83,6 @@ class PostAdminController extends CrudController
|
|||
*/
|
||||
public function new(EntityFactory $factory, EntityManager $entityManager, FileUploadHandler $fileUpload, Request $request): Response
|
||||
{
|
||||
$entity = $factory->create($this->getUser());
|
||||
|
||||
return $this->doNew(
|
||||
$factory->create($this->getUser()),
|
||||
$entityManager,
|
||||
|
|
Loading…
Reference in a new issue