summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-20 18:50:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-20 18:50:56 +0200
commit8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4 (patch)
tree11aad8ca1c57a01edbb5ae754110d0c61c8e4f4e /lib
parent555a3b597ecca723c9ba25ed9d2b8965bfe92cc9 (diff)
downloadnextcloud-server-8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4.tar.gz
nextcloud-server-8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4.zip
fixed code
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php10
-rw-r--r--lib/private/console/application.php6
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/base.php b/lib/base.php
index fd3b005b484..472bf1b9601 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -197,8 +197,8 @@ class OC {
}
}
if (empty(OC::$THIRDPARTYROOT) || !file_exists(OC::$THIRDPARTYROOT)) {
- throw new \RuntimeException('3rdparty directory not found! Please put the ownCloud 3rdparty'
- . ' folder in the ownCloud folder or the folder above.'
+ throw new \RuntimeException('3rdparty directory not found! Please put the Nextcloud 3rdparty'
+ . ' folder in the Nextcloud folder or the folder above.'
. ' You can also configure the location in the config.php file.');
}
@@ -223,15 +223,15 @@ class OC {
}
if (empty(OC::$APPSROOTS)) {
- throw new \RuntimeException('apps directory not found! Please put the ownCloud apps folder in the ownCloud folder'
+ throw new \RuntimeException('apps directory not found! Please put the Nextcloud apps folder in the Nextcloud folder'
. ' or the folder above. You can also configure the location in the config.php file.');
}
$paths = array();
foreach (OC::$APPSROOTS as $path) {
$paths[] = $path['path'];
if (!is_dir($path['path'])) {
- throw new \RuntimeException(sprintf('App directory "%s" not found! Please put the ownCloud apps folder in the'
- . ' ownCloud folder or the folder above. You can also configure the location in the'
+ throw new \RuntimeException(sprintf('App directory "%s" not found! Please put the Nextcloud apps folder in the'
+ . ' Nextcloud folder or the folder above. You can also configure the location in the'
. ' config.php file.', $path['path']));
}
}
diff --git a/lib/private/console/application.php b/lib/private/console/application.php
index 7f12db4eca6..d23f41f487e 100644
--- a/lib/private/console/application.php
+++ b/lib/private/console/application.php
@@ -87,10 +87,10 @@ class Application {
require_once __DIR__ . '/../../../core/register_command.php';
if ($this->config->getSystemValue('installed', false)) {
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");
} 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 {
OC_App::loadApps();
foreach (\OC::$server->getAppManager()->getInstalledApps() as $app) {
@@ -106,7 +106,7 @@ class Application {
}
}
} 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();
if ($input->getFirstArgument() !== 'check') {