Browse Source

remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already

tags/v8.0.0alpha1
Thomas Müller 9 years ago
parent
commit
e655d32979
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      core/command/upgrade.php

+ 0
- 8
core/command/upgrade.php View File

@@ -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;


Loading…
Cancel
Save