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);
        }
    }
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);
        }
    }
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 ) ; } }
Restore the original module files
Restore the original module files