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

This commit is contained in:
Thomas Müller 2014-09-22 12:00:22 +02:00
parent 43c191fffb
commit e655d32979
1 changed files with 0 additions and 8 deletions

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;