Skip to content
Snippets Groups Projects
Commit e655d329 authored by Thomas Müller's avatar Thomas Müller
Browse files

remove bootstrapping - occ can by definition only be executed if ownCloud is...

remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already
parent 43c191ff
No related branches found
No related tags found
No related merge requests found
...@@ -50,14 +50,6 @@ class Upgrade extends Command { ...@@ -50,14 +50,6 @@ class Upgrade extends Command {
*/ */
protected function execute(InputInterface $input, OutputInterface $output) { 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; $simulateStepEnabled = true;
$updateStepEnabled = true; $updateStepEnabled = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment