Grabber :: purgeAction: Bitrix method

      
<?php 
//  Bitrix\Translate\Controller\Asset\Grabber :: purgeAction()
//  /dist/bitrix/modules/translate/lib/controller/asset/grabber.php:262

    
public function purgeAction()
    {
        
$settings $this->getProgressParameters();

        if (!empty(
$settings['archiveFilePath']))
        {
            
$path = new Main\IO\File($settings['archiveFilePath']);
            if (
$path->isExists())
            {
                
$path->delete();
            }
        }

        return array(
            
'SUMMARY' => Loc::getMessage('TR_EXPORT_FILE_DROPPED'),
            
'STATUS' => Translate\Controller\STATUS_COMPLETED
        
);
    }