Issue #2488420 by talhaparacha, amybrate, martin_q, cilefen, YesCT, alexpott, poker10, quietone, anavarre: Remove a misleading comment from Updater::update()

merge-requests/7461/merge
mcdruid 2024-05-31 16:31:21 +01:00
parent e1fe0eb6eb
commit c523ac76fb
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

@ -245,9 +245,6 @@ class Updater {
// Make sure the installation parent directory exists and is writable. // Make sure the installation parent directory exists and is writable.
$this->prepareInstallDirectory($filetransfer, $args['install_dir']); $this->prepareInstallDirectory($filetransfer, $args['install_dir']);
// Note: If the project is installed in sites/all, it will not be
// deleted. It will be installed in sites/default as that will override
// the sites/all reference and not break other sites which are using it.
if (is_dir($args['install_dir'] . '/' . $this->name)) { if (is_dir($args['install_dir'] . '/' . $this->name)) {
// Remove the existing installed file. // Remove the existing installed file.
$filetransfer->removeDirectory($args['install_dir'] . '/' . $this->name); $filetransfer->removeDirectory($args['install_dir'] . '/' . $this->name);