original_string: private function multi_option_delete()
      {
          $selected = ps('selected');
          $deleted = array();
  
          try {
              foreach ($this->getBackups() as $name => $file) {
                  if (in_array($name, $selected, true)) {
                      $deleted[$name] = $file['path'];
                      @unlink($file['path']);
                  }
              }
          } catch (Exception $e) {
          }
  
          callback_event('rah_backup.deleted', '', 0, array(
              'files' => $deleted,
          ));
  
          $this->browser(gTxt('rah_backup_removed'));
      }
code: private function multi_option_delete()
      {
          $selected = ps('selected');
          $deleted = array();
  
          try {
              foreach ($this->getBackups() as $name => $file) {
                  if (in_array($name, $selected, true)) {
                      $deleted[$name] = $file['path'];
                      @unlink($file['path']);
                  }
              }
          } catch (Exception $e) {
          }
  
          callback_event('rah_backup.deleted', '', 0, array(
              'files' => $deleted,
          ));
  
          $this->browser(gTxt('rah_backup_removed'));
      }
code_tokens: private function multi_option_delete ( ) { $ selected = ps ( 'selected' ) ; $ deleted = array ( ) ; try { foreach ( $ this -> getBackups ( ) as $ name => $ file ) { if ( in_array ( $ name , $ selected , true ) ) { $ deleted [ $ name ] = $ file [ 'path' ] ; @ unlink ( $ file [ 'path' ] ) ; } } } catch ( Exception $ e ) { } callback_event ( 'rah_backup.deleted' , '' , 0 , array ( 'files' => $ deleted , ) ) ; $ this -> browser ( gTxt ( 'rah_backup_removed' ) ) ; }
docstring: Deletes selected backups.
docstring_tokens: Deletes selected backups .