From a55fbb5bd9046ec990603c07b99b2275970a44bf Mon Sep 17 00:00:00 2001 From: gtbu Date: Sun, 13 Feb 2022 17:44:42 +0100 Subject: [PATCH] revert --- include/admin/Addon/Installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/admin/Addon/Installer.php b/include/admin/Addon/Installer.php index 6e227dd..348a088 100644 --- a/include/admin/Addon/Installer.php +++ b/include/admin/Addon/Installer.php @@ -1373,8 +1373,8 @@ class Installer extends \gp\admin\Addon\Tools{ if( file_exists($this->source) ){ \gp\tool\Files::RmAll($this->source); } - $thisvar1 = $this->trash_path; $thisvar1 .= ""; - if( file_exists($thisvar1) ){ + + if( file_exists($this->trash_path) ){ \gp\tool\Files::RmAll($this->trash_path); } }