]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove bootstrapping - occ can by definition only be executed if ownCloud is installe...
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 22 Sep 2014 10:00:22 +0000 (12:00 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 22 Sep 2014 10:00:22 +0000 (12:00 +0200)
core/command/upgrade.php

index 722ba4f9db9349e5574fa025f50bd47fe393eb4d..c626f24bcc31f9b3a643288db71a10aa728d0e85 100644 (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;