Merge pull request #640 from nextcloud/enoch85-patch-2

ownCloud -> Nextcloud
This commit is contained in:
Morris Jobke 2016-07-28 23:30:25 +02:00 committed by GitHub
commit ff4ed9dd43
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class Install extends Command {
protected function configure() { protected function configure() {
$this $this
->setName('maintenance:install') ->setName('maintenance:install')
->setDescription('install ownCloud') ->setDescription('install Nextcloud')
->addOption('database', null, InputOption::VALUE_REQUIRED, 'Supported database type', 'sqlite') ->addOption('database', null, InputOption::VALUE_REQUIRED, 'Supported database type', 'sqlite')
->addOption('database-name', null, InputOption::VALUE_REQUIRED, 'Name of the database') ->addOption('database-name', null, InputOption::VALUE_REQUIRED, 'Name of the database')
->addOption('database-host', null, InputOption::VALUE_REQUIRED, 'Hostname of the database', 'localhost') ->addOption('database-host', null, InputOption::VALUE_REQUIRED, 'Hostname of the database', 'localhost')
@ -77,7 +77,7 @@ class Install extends Command {
// ignore the OS X setup warning // ignore the OS X setup warning
if(count($errors) !== 1 || if(count($errors) !== 1 ||
(string)($errors[0]['error']) !== 'Mac OS X is not supported and ownCloud will not work properly on this platform. Use it at your own risk! ') { (string)($errors[0]['error']) !== 'Mac OS X is not supported and Nextcloud will not work properly on this platform. Use it at your own risk! ') {
return 1; return 1;
} }
} }
@ -91,7 +91,7 @@ class Install extends Command {
$this->printErrors($output, $errors); $this->printErrors($output, $errors);
return 1; return 1;
} }
$output->writeln("ownCloud was successfully installed"); $output->writeln("Nextcloud was successfully installed");
return 0; return 0;
} }