Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Fix Composer Deprecation Notices #31804

Merged
merged 12 commits into from
Jan 27, 2021
Prev Previous commit
Next Next commit
Revert
  • Loading branch information
wilsonge authored Jan 6, 2021
commit 2bb23dafa2f71caefc06daed7898af0b1b0b37fb
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ function finalizeRestore($siteRoot, $restorePath)
// Remove obsolete files - prevents errors occurring in some system plugins
if (class_exists('JoomlaInstallerScript'))
{
$installer = new JoomlaInstallerScript;

$installer->deleteUnexistingFiles();
(new JoomlaInstallerScript)->deleteUnexistingFiles();
}

// Clear OPcache
Expand Down