public function send($filename)
    {
        $this->BackupManager->send($this->getFilename($filename), getConfigOrFail('email.webmaster'));
        $this->Flash->success(I18N_OPERATION_OK);

        return $this->redirect(['action' => 'index']);
    }
public function send($filename)
    {
        $this->BackupManager->send($this->getFilename($filename), getConfigOrFail('email.webmaster'));
        $this->Flash->success(I18N_OPERATION_OK);

        return $this->redirect(['action' => 'index']);
    }
public function send ( $ filename ) { $ this -> BackupManager -> send ( $ this -> getFilename ( $ filename ) , getConfigOrFail ( 'email.webmaster' ) ) ; $ this -> Flash -> success ( I18N_OPERATION_OK ) ; return $ this -> redirect ( [ 'action' => 'index' ] ) ; }
Sends a backup file via mail
@param string $filename Backup filename
@return \Cake\Network\Response|null
@since 2.18.3
@uses DatabaseBackup\Utility\BackupManager::send()
@uses getFilename()
Sends a backup file via mail