summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-04 09:04:24 +0200
committerGitHub <noreply@github.com>2016-08-04 09:04:24 +0200
commitdab0a6223a608af6cf094a6ca3fc42d3daa72c71 (patch)
tree24d1485859e28da265f1f67f067b51c293f161da /core
parent258ee140a415f96dd35eb339fe29430e1ec6331d (diff)
parentaeb5dfa4ac7f586e7912a2a00e966d8c4c539abb (diff)
downloadnextcloud-server-dab0a6223a608af6cf094a6ca3fc42d3daa72c71.tar.gz
nextcloud-server-dab0a6223a608af6cf094a6ca3fc42d3daa72c71.zip
Merge pull request #718 from jurgenhaas/patch-1
Exit from upgrade without reporting error
Diffstat (limited to 'core')
-rw-r--r--core/Command/Upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index caf92492d90..77d67534c6a 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -47,7 +47,7 @@ class Upgrade extends Command {
const ERROR_SUCCESS = 0;
const ERROR_NOT_INSTALLED = 1;
const ERROR_MAINTENANCE_MODE = 2;
- const ERROR_UP_TO_DATE = 3;
+ const ERROR_UP_TO_DATE = 0;
const ERROR_INVALID_ARGUMENTS = 4;
const ERROR_FAILURE = 5;