Skip to content

Commit d49e461

Browse files
author
Phil Taylor
authored
Remove unset call as $xml is not set when here (#32054)
Signed-off-by: Phil E. Taylor <[email protected]>
1 parent 729041e commit d49e461

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/src/Installer/InstallerHelper.php

-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ public static function detectType($packageDirectory)
285285

286286
Log::add(Text::_('JLIB_INSTALLER_ERROR_NOTFINDJOOMLAXMLSETUPFILE'), Log::WARNING, 'jerror');
287287

288-
// Free up memory.
289-
unset($xml);
290-
291288
return false;
292289
}
293290

0 commit comments

Comments
 (0)