application/Espo/Core/Upgrades/Actions/Base.php
protected function getDeleteFileList()
    {
        if (!isset($this->data['deleteFileList'])) {
            $deleteFileList = array();

            $deleteList = array_merge($this->getDeleteList('delete'), $this->getDeleteList('deleteBeforeCopy'), $this->getDeleteList('vendor'));
            foreach ($deleteList as $key => $itemPath) {
                if (is_dir($itemPath)) {
                    $fileList = $this->getFileManager()->getFileList($itemPath, true, '', true, true);
                    $fileList = $this->concatStringWithArray($itemPath, $fileList);
                    $deleteFileList = array_merge($deleteFileList, $fileList);

                    continue;
                }

                $deleteFileList[] = $itemPath;
            }

            $this->data['deleteFileList'] = $deleteFileList;
        }

        return $this->data['deleteFileList'];
    }
protected function getDeleteFileList()
    {
        if (!isset($this->data['deleteFileList'])) {
            $deleteFileList = array();

            $deleteList = array_merge($this->getDeleteList('delete'), $this->getDeleteList('deleteBeforeCopy'), $this->getDeleteList('vendor'));
            foreach ($deleteList as $key => $itemPath) {
                if (is_dir($itemPath)) {
                    $fileList = $this->getFileManager()->getFileList($itemPath, true, '', true, true);
                    $fileList = $this->concatStringWithArray($itemPath, $fileList);
                    $deleteFileList = array_merge($deleteFileList, $fileList);

                    continue;
                }

                $deleteFileList[] = $itemPath;
            }

            $this->data['deleteFileList'] = $deleteFileList;
        }

        return $this->data['deleteFileList'];
    }
protected function getDeleteFileList ( ) { if ( ! isset ( $ this -> data [ 'deleteFileList' ] ) ) { $ deleteFileList = array ( ) ; $ deleteList = array_merge ( $ this -> getDeleteList ( 'delete' ) , $ this -> getDeleteList ( 'deleteBeforeCopy' ) , $ this -> getDeleteList ( 'vendor' ) ) ; foreach ( $ deleteList as $ key => $ itemPath ) { if ( is_dir ( $ itemPath ) ) { $ fileList = $ this -> getFileManager ( ) -> getFileList ( $ itemPath , true , '' , true , true ) ; $ fileList = $ this -> concatStringWithArray ( $ itemPath , $ fileList ) ; $ deleteFileList = array_merge ( $ deleteFileList , $ fileList ) ; continue ; } $ deleteFileList [ ] = $ itemPath ; } $ this -> data [ 'deleteFileList' ] = $ deleteFileList ; } return $ this -> data [ 'deleteFileList' ] ; }
Get a list of files defined in manifest.json

@return array
Get a list of files defined in manifest . json