diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2021-06-19 21:06:57 +0100 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2023-01-10 11:59:06 +0000 |
commit | 644df591b138d28b1631ecc13ebe600c16a909f1 (patch) | |
tree | ecfae936f082eaf0f898008bddc82e2fd5357e87 /core/Command | |
parent | d5b52ddd21bc32d250d1d8d3d4308c00d505a0cf (diff) | |
download | nextcloud-server-644df591b138d28b1631ecc13ebe600c16a909f1.tar.gz nextcloud-server-644df591b138d28b1631ecc13ebe600c16a909f1.zip |
Rename canInstallExists method and add new method for removal
Rename canInstallExists to shouldRemoveCanInstallFile to cover removal of this file for non-git channels and logging any failure to remove it.
Add new method to detect if this file exists during web based installation.
Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Maintenance/Install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php index c06cffe7dfc..d53cd867b06 100644 --- a/core/Command/Maintenance/Install.php +++ b/core/Command/Maintenance/Install.php @@ -107,7 +107,7 @@ class Install extends Command { $this->printErrors($output, $errors); return 1; } - if ($setupHelper->canInstallExists()) { + if ($setupHelper->shouldRemoveCanInstallFile()) { $output->writeln('<warn>Could not remove CAN_INSTALL from the config folder. Please remove this file manually.</warn>'); } $output->writeln("Nextcloud was successfully installed"); |