diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index 03976e59bd8..1d105b67a06 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -38,7 +38,7 @@ class Upgrade extends Command {
// Don't do anything if ownCloud has not been installed
if(!\OC_Config::getValue('installed', false)) {
- $output->writeln('ownCloud has not yet been installed');
+ $output->writeln('ownCloud has not yet been installed');
return self::ERROR_NOT_INSTALLED;
}
@@ -46,20 +46,20 @@ class Upgrade extends Command {
$updater = new Updater();
$updater->listen('\OC\Updater', 'maintenanceStart', function () use($output) {
- $output->writeln('Turned on maintenance mode');
+ $output->writeln('Turned on maintenance mode');
});
$updater->listen('\OC\Updater', 'maintenanceEnd', function () use($output) {
- $output->writeln('Turned off maintenance mode');
- $output->writeln('Update successful');
+ $output->writeln('Turned off maintenance mode');
+ $output->writeln('Update successful');
});
$updater->listen('\OC\Updater', 'dbUpgrade', function () use($output) {
- $output->writeln('Updated database');
+ $output->writeln('Updated database');
});
$updater->listen('\OC\Updater', 'filecacheStart', function () use($output) {
- $output->writeln('Updating filecache, this may take really long...');
+ $output->writeln('Updating filecache, this may take really long...');
});
$updater->listen('\OC\Updater', 'filecacheDone', function () use($output) {
- $output->writeln('Updated filecache');
+ $output->writeln('Updated filecache');
});
$updater->listen('\OC\Updater', 'filecacheProgress', function ($out) use($output) {
$output->writeln('... ' . $out . '% done ...');
@@ -74,15 +74,15 @@ class Upgrade extends Command {
return self::ERROR_SUCCESS;
} else if(\OC_Config::getValue('maintenance', false)) {
//Possible scenario: ownCloud core is updated but an app failed
- $output->writeln('ownCloud is in maintenance mode');
- $output->write('Maybe an upgrade is already in process. Please check the '
+ $output->writeln('ownCloud is in maintenance mode');
+ $output->write('Maybe an upgrade is already in process. Please check the '
. 'logfile (data/owncloud.log). If you want to re-run the '
. 'upgrade procedure, remove the "maintenance mode" from '
- . 'config.php and call this script again.'
+ . 'config.php and call this script again.'
, true);
return self::ERROR_MAINTENANCE_MODE;
} else {
- $output->writeln('ownCloud is already latest version');
+ $output->writeln('ownCloud is already latest version');
return self::ERROR_UP_TO_DATE;
}
}