Commit 8afa4070 authored by alexpott's avatar alexpott

Issue #2488420 by amycham, martin_q, cilefen, YesCT: Remove a misleading...

Issue #2488420 by amycham, martin_q, cilefen, YesCT: Remove a misleading comment from Updater::update()
parent e374c882
......@@ -235,9 +235,6 @@ public function update(&$filetransfer, $overrides = array()) {
// Make sure the installation parent directory exists and is writable.
$this->prepareInstallDirectory($filetransfer, $args['install_dir']);
// Note: If the project is installed in the top-level, it will not be
// deleted. It will be installed in sites/default as that will override
// the top-level reference and not break other sites which are using it.
if (is_dir($args['install_dir'] . '/' . $this->name)) {
// Remove the existing installed file.
$filetransfer->removeDirectory($args['install_dir'] . '/' . $this->name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment