Merge pull request #737 from nextcloud/blizzz-fix-name-console

Correct name in Console Application.php
This commit is contained in:
Joas Schilling 2016-08-05 09:17:34 +02:00 committed by GitHub
commit 84e6b8d9d0
1 changed files with 3 additions and 3 deletions

View File

@ -88,10 +88,10 @@ class Application {
require_once __DIR__ . '/../../../core/register_command.php'; require_once __DIR__ . '/../../../core/register_command.php';
if ($this->config->getSystemValue('installed', false)) { if ($this->config->getSystemValue('installed', false)) {
if (\OCP\Util::needUpgrade()) { if (\OCP\Util::needUpgrade()) {
$output->writeln("ownCloud or one of the apps require upgrade - only a limited number of commands are available"); $output->writeln("Nextcloud or one of the apps require upgrade - only a limited number of commands are available");
$output->writeln("You may use your browser or the occ upgrade command to do the upgrade"); $output->writeln("You may use your browser or the occ upgrade command to do the upgrade");
} elseif ($this->config->getSystemValue('maintenance', false)) { } elseif ($this->config->getSystemValue('maintenance', false)) {
$output->writeln("ownCloud is in maintenance mode - no app have been loaded"); $output->writeln("Nextcloud is in maintenance mode - no app have been loaded");
} else { } else {
OC_App::loadApps(); OC_App::loadApps();
foreach (\OC::$server->getAppManager()->getInstalledApps() as $app) { foreach (\OC::$server->getAppManager()->getInstalledApps() as $app) {
@ -107,7 +107,7 @@ class Application {
} }
} }
} else { } else {
$output->writeln("ownCloud is not installed - only a limited number of commands are available"); $output->writeln("Nextcloud is not installed - only a limited number of commands are available");
} }
$input = new ArgvInput(); $input = new ArgvInput();
if ($input->getFirstArgument() !== 'check') { if ($input->getFirstArgument() !== 'check') {