diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-21 20:52:32 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-23 16:47:47 +0100 |
commit | bcd10d3dc52f2a6fa187895526eac05b48ddb7f9 (patch) | |
tree | 8f721cce7ebc7d526f49810e844d1558fdeb2045 /lib/base.php | |
parent | 1fd1b355e46aba83917c81ddc91a369598f9e6e1 (diff) | |
download | nextcloud-server-bcd10d3dc52f2a6fa187895526eac05b48ddb7f9.tar.gz nextcloud-server-bcd10d3dc52f2a6fa187895526eac05b48ddb7f9.zip |
implement command maintenance:install
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 3cf0fef2eda..6048df33f43 100644 --- a/lib/base.php +++ b/lib/base.php @@ -257,6 +257,9 @@ class OC { } public static function checkInstalled() { + if (defined('OC_CONSOLE')) { + return; + } // Redirect to installer if not installed if (!\OC::$server->getSystemConfig()->getValue('installed', false) && OC::$SUBURI != '/index.php') { if (OC::$CLI) { |