private function removeFolder(Folder $folder)
	{
		$this->removeFolderInFileSystem($folder);

		$entityManager = $this->getDoctrineEntityManager();
		$entityManager->remove($folder);
		$entityManager->flush();
	}
private function removeFolder(Folder $folder)
	{
		$this->removeFolderInFileSystem($folder);

		$entityManager = $this->getDoctrineEntityManager();
		$entityManager->remove($folder);
		$entityManager->flush();
	}
private function removeFolder ( Folder $ folder ) { $ this -> removeFolderInFileSystem ( $ folder ) ; $ entityManager = $ this -> getDoctrineEntityManager ( ) ; $ entityManager -> remove ( $ folder ) ; $ entityManager -> flush ( ) ; }
Remove folder from database and file system
@param Folder $folder
Remove folder from database and file system