Rebranded to Nextcloud for the occ command line tool

This commit is contained in:
Sander Ruitenbeek 2016-07-30 15:39:32 +02:00
parent 3b386af295
commit 3101f9e234
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2016, Nextcloud, Inc.
* *
* @author Andreas Fischer <bantu@owncloud.com> * @author Andreas Fischer <bantu@owncloud.com>
* @author Björn Schießle <bjoern@schiessle.org> * @author Björn Schießle <bjoern@schiessle.org>
@ -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;
} }
} }