From afbe50d09c7d9e5cbed2a09bc915ba4eaa8ced27 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Thu, 6 Feb 2014 09:44:13 +0100 Subject: remove global variable $RUNTIME_NOAPPS - it's just superfluous --- lib/base.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/base.php') diff --git a/lib/base.php b/lib/base.php index f2d9251294d..b230ca2e548 100644 --- a/lib/base.php +++ b/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 { -- cgit v1.2.3