Rebranded to Nextcloud for the occ command line tool (#692)
This commit is contained in:
parent
80470093dd
commit
1ae21d1e33
|
@ -61,7 +61,7 @@ class ConvertType extends Command {
|
||||||
protected function configure() {
|
protected function configure() {
|
||||||
$this
|
$this
|
||||||
->setName('db:convert-type')
|
->setName('db:convert-type')
|
||||||
->setDescription('Convert the ownCloud database to the newly configured one')
|
->setDescription('Convert the Nextcloud database to the newly configured one')
|
||||||
->addArgument(
|
->addArgument(
|
||||||
'type',
|
'type',
|
||||||
InputArgument::REQUIRED,
|
InputArgument::REQUIRED,
|
||||||
|
|
|
@ -299,8 +299,8 @@ class Upgrade extends Command {
|
||||||
|
|
||||||
return self::ERROR_SUCCESS;
|
return self::ERROR_SUCCESS;
|
||||||
} else if($this->config->getSystemValue('maintenance', false)) {
|
} else if($this->config->getSystemValue('maintenance', false)) {
|
||||||
//Possible scenario: ownCloud core is updated but an app failed
|
//Possible scenario: Nextcloud core is updated but an app failed
|
||||||
$output->writeln('<warning>ownCloud is in maintenance mode</warning>');
|
$output->writeln('<warning>Nextcloud is in maintenance mode</warning>');
|
||||||
$output->write('<comment>Maybe an upgrade is already in process. Please check the '
|
$output->write('<comment>Maybe an upgrade is already in process. Please check the '
|
||||||
. 'logfile (data/nextcloud.log). If you want to re-run the '
|
. 'logfile (data/nextcloud.log). If you want to re-run the '
|
||||||
. 'upgrade procedure, remove the "maintenance mode" from '
|
. 'upgrade procedure, remove the "maintenance mode" from '
|
||||||
|
@ -308,7 +308,7 @@ class Upgrade extends Command {
|
||||||
, true);
|
, true);
|
||||||
return self::ERROR_MAINTENANCE_MODE;
|
return self::ERROR_MAINTENANCE_MODE;
|
||||||
} else {
|
} else {
|
||||||
$output->writeln('<info>ownCloud is already latest version</info>');
|
$output->writeln('<info>Nextcloud is already latest version</info>');
|
||||||
return self::ERROR_UP_TO_DATE;
|
return self::ERROR_UP_TO_DATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue