remove dump messages

This commit is contained in:
Julien Fastré 2020-04-03 13:29:48 +02:00
parent 10577e1735
commit a4c2b93e1c
2 changed files with 2 additions and 5 deletions

View File

@ -23,6 +23,7 @@ Master branch
- replace default message on download button below dropzone ;
- launch event when dropzone is initialized, to allow to customize events on dropzone;
- add privacy events to document index / show
- add privacy events to document edit / update
- remove dump message

View File

@ -30,8 +30,6 @@ class ObjectToAsyncFileTransformer implements AsyncFileTransformerInterface
public function toAsyncFile($data)
{
dump($data);
if ($data instanceof StoredObject) {
return $data;
}
@ -39,8 +37,6 @@ class ObjectToAsyncFileTransformer implements AsyncFileTransformerInterface
public function toData(AsyncFileInterface $asyncFile)
{
dump($asyncFile);
$object = $this->em
->getRepository(StoredObject::class)
->findByFilename($asyncFile->getObjectName())