plugin/drop-zone/Manager/DropzoneManager.php
public function delete(Dropzone $dropzone)
    {
        $this->om->startFlushSuite();
        $uuid = $dropzone->getUuid();
        $ds = DIRECTORY_SEPARATOR;
        $dropzoneDir = $this->filesDir.$ds.'dropzone'.$ds.$uuid;

        if ($this->fileSystem->exists($dropzoneDir)) {
            $this->fileSystem->remove($dropzoneDir);
        }
        $this->crud->delete($dropzone);
        $this->om->endFlushSuite();
    }
public function delete(Dropzone $dropzone)
    {
        $this->om->startFlushSuite();
        $uuid = $dropzone->getUuid();
        $ds = DIRECTORY_SEPARATOR;
        $dropzoneDir = $this->filesDir.$ds.'dropzone'.$ds.$uuid;

        if ($this->fileSystem->exists($dropzoneDir)) {
            $this->fileSystem->remove($dropzoneDir);
        }
        $this->crud->delete($dropzone);
        $this->om->endFlushSuite();
    }
public function delete ( Dropzone $ dropzone ) { $ this -> om -> startFlushSuite ( ) ; $ uuid = $ dropzone -> getUuid ( ) ; $ ds = DIRECTORY_SEPARATOR ; $ dropzoneDir = $ this -> filesDir . $ ds . 'dropzone' . $ ds . $ uuid ; if ( $ this -> fileSystem -> exists ( $ dropzoneDir ) ) { $ this -> fileSystem -> remove ( $ dropzoneDir ) ; } $ this -> crud -> delete ( $ dropzone ) ; $ this -> om -> endFlushSuite ( ) ; }
Deletes a Dropzone.

@param Dropzone $dropzone
Deletes a Dropzone .