remove bootstrapping - occ can by definition only be executed if ownCloud is installed - base.php is required earlier already
This commit is contained in:
parent
43c191fffb
commit
e655d32979
|
@ -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…
Reference in New Issue