diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 12:00:22 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-22 12:00:22 +0200 |
commit | e655d32979c56c8ae231d44b8c3e864a33f16bf4 (patch) | |
tree | e0c8dbc9337ea3ff9c2796c77ea41f508bbb754b /core/command/upgrade.php | |
parent | 43c191fffb6f423909488bab41d90ca3af0d6edb (diff) | |
download | nextcloud-server-e655d32979c56c8ae231d44b8c3e864a33f16bf4.tar.gz nextcloud-server-e655d32979c56c8ae231d44b8c3e864a33f16bf4.zip |
remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already
Diffstat (limited to 'core/command/upgrade.php')
-rw-r--r-- | core/command/upgrade.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 722ba4f9db9..c626f24bcc3 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -50,14 +50,6 @@ class Upgrade extends Command { */ protected function execute(InputInterface $input, OutputInterface $output) { - require_once \OC::$SERVERROOT . '/lib/base.php'; - - // Don't do anything if ownCloud has not been installed - if(!\OC_Config::getValue('installed', false)) { - $output->writeln('<error>ownCloud has not yet been installed</error>'); - return self::ERROR_NOT_INSTALLED; - } - $simulateStepEnabled = true; $updateStepEnabled = true; |