Skip to content

Commit

Permalink
Remove unset call as $xml is not set when here (#32054)
Browse files Browse the repository at this point in the history
Signed-off-by: Phil E. Taylor <[email protected]>
  • Loading branch information
Phil Taylor authored Jan 16, 2021
1 parent 729041e commit d49e461
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/src/Installer/InstallerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d49e461

Please sign in to comment.