remove global variable $RUNTIME_NOAPPS - it's just superfluous

remotes/origin/ldap_group_count
Thomas Müller 11 years ago
parent e2a28e5d1d
commit afbe50d09c
  1. 3
      core/command/upgrade.php
  2. 2
      index.php
  3. 3
      lib/base.php

@ -30,9 +30,6 @@ class Upgrade extends Command {
}
protected function execute(InputInterface $input, OutputInterface $output) {
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true; //no apps, yet
require_once \OC::$SERVERROOT . '/lib/base.php';

@ -21,8 +21,6 @@
*
*/
$RUNTIME_NOAPPS = true; //no apps, yet
try {
require_once 'lib/base.php';

@ -569,9 +569,8 @@ class OC {
// Load Apps
// This includes plugins for users and filesystems as well
global $RUNTIME_NOAPPS;
global $RUNTIME_APPTYPES;
if (!$RUNTIME_NOAPPS && !self::checkUpgrade(false)) {
if (!self::checkUpgrade(false)) {
if ($RUNTIME_APPTYPES) {
OC_App::loadApps($RUNTIME_APPTYPES);
} else {

Loading…
Cancel
Save