diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-17 12:00:39 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 12:02:36 +0100 |
commit | bbf7f56f949f48ec0cf95d416b431d0cd739582f (patch) | |
tree | adb18b5b46738e81093444ae1fa860e48647373a /lib/private/templatelayout.php | |
parent | e5c6af51027f786d74f859584f0aa6c85db6ead6 (diff) | |
download | nextcloud-server-bbf7f56f949f48ec0cf95d416b431d0cd739582f.tar.gz nextcloud-server-bbf7f56f949f48ec0cf95d416b431d0cd739582f.zip |
3rd-party apps are disabled on upgrade - refs #14026
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r-- | lib/private/templatelayout.php | 3 |
1 files changed, 2 insertions, 1 deletions
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()) { |