From d49e4614f299b5f158f6a585de6f9c0313013168 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sat, 16 Jan 2021 09:29:23 +0000 Subject: [PATCH] Remove unset call as $xml is not set when here (#32054) Signed-off-by: Phil E. Taylor --- libraries/src/Installer/InstallerHelper.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/src/Installer/InstallerHelper.php b/libraries/src/Installer/InstallerHelper.php index bbe8d41e1aa41..13541bd978dc0 100644 --- a/libraries/src/Installer/InstallerHelper.php +++ b/libraries/src/Installer/InstallerHelper.php @@ -285,9 +285,6 @@ public static function detectType($packageDirectory) Log::add(Text::_('JLIB_INSTALLER_ERROR_NOTFINDJOOMLAXMLSETUPFILE'), Log::WARNING, 'jerror'); - // Free up memory. - unset($xml); - return false; }