From bbf7f56f949f48ec0cf95d416b431d0cd739582f Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 17 Feb 2015 12:00:39 +0100 Subject: 3rd-party apps are disabled on upgrade - refs #14026 --- lib/private/templatelayout.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/templatelayout.php') diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index c8be5631fec..9f06c7b45eb 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -77,7 +77,8 @@ class OC_TemplateLayout extends OC_Template { // Update notification if($this->config->getSystemValue('updatechecker', true) === true && OC_User::isAdminUser(OC_User::getUser())) { - $updater = new \OC\Updater(\OC::$server->getHTTPHelper(), \OC::$server->getAppConfig()); + $updater = new \OC\Updater(\OC::$server->getHTTPHelper(), + \OC::$server->getConfig()); $data = $updater->check(); if(isset($data['version']) && $data['version'] != '' and $data['version'] !== Array()) { -- cgit v1.2.3