Issue #2488420 by talhaparacha, amybrate, martin_q, cilefen, YesCT, alexpott, poker10, quietone, anavarre: Remove a misleading comment from Updater::update()
parent
e1fe0eb6eb
commit
c523ac76fb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue