Skip to content

Commit

Permalink
backport joomla#41865
Browse files Browse the repository at this point in the history
backport [5] update from nightly to latest nightly build
joomla#41865
  • Loading branch information
alikon authored Oct 8, 2023
1 parent e548bcc commit d058269
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,10 @@ public function cleanUp()
$tempdir = $app->get('tmp_path');

$file = $app->getUserState('com_joomlaupdate.file', null);
File::delete($tempdir . '/' . $file);

if (is_file($tempdir . '/' . $file)) {
File::delete($tempdir . '/' . $file);
}

// Remove the update.php file used in Joomla 4.0.3 and later.
if (is_file(JPATH_COMPONENT_ADMINISTRATOR . '/update.php')) {
Expand Down

0 comments on commit d058269

Please sign in to comment.