From e655d32979c56c8ae231d44b8c3e864a33f16bf4 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 22 Sep 2014 12:00:22 +0200 Subject: remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already --- core/command/upgrade.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'core/command/upgrade.php') 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('ownCloud has not yet been installed'); - return self::ERROR_NOT_INSTALLED; - } - $simulateStepEnabled = true; $updateStepEnabled = true; -- cgit v1.2.3