original_string: protected function rollback()
      {
          if (!$this->isUpdate() || ($this->isUpdate() && $this->renamed)) {
              gplcart_file_delete_recursive($this->destination);
          }
  
          if (isset($this->tempname)) {
              rename($this->tempname, $this->destination);
          }
      }
code: protected function rollback()
      {
          if (!$this->isUpdate() || ($this->isUpdate() && $this->renamed)) {
              gplcart_file_delete_recursive($this->destination);
          }
  
          if (isset($this->tempname)) {
              rename($this->tempname, $this->destination);
          }
      }
code_tokens: protected function rollback ( ) { if ( ! $ this -> isUpdate ( ) || ( $ this -> isUpdate ( ) && $ this -> renamed ) ) { gplcart_file_delete_recursive ( $ this -> destination ) ; } if ( isset ( $ this -> tempname ) ) { rename ( $ this -> tempname , $ this -> destination ) ; } }
docstring: Restore the original module files
docstring_tokens: Restore the original module files