application/Espo/Core/Upgrades/Actions/Base.php
protected function deleteFiles($type = 'delete', $withEmptyDirs = false)
    {
        $deleteList = $this->getDeleteList($type);

        if (!empty($deleteList)) {
            return $this->getFileManager()->remove($deleteList, null, $withEmptyDirs);
        }

        return true;
    }
protected function deleteFiles($type = 'delete', $withEmptyDirs = false)
    {
        $deleteList = $this->getDeleteList($type);

        if (!empty($deleteList)) {
            return $this->getFileManager()->remove($deleteList, null, $withEmptyDirs);
        }

        return true;
    }
protected function deleteFiles ( $ type = 'delete' , $ withEmptyDirs = false ) { $ deleteList = $ this -> getDeleteList ( $ type ) ; if ( ! empty ( $ deleteList ) ) { return $ this -> getFileManager ( ) -> remove ( $ deleteList , null , $ withEmptyDirs ) ; } return true ; }
Delete files defined in a manifest

@return boolen
Delete files defined in a manifest