summaryrefslogtreecommitdiffstats
path: root/lib/private/templatelayout.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-17 12:00:39 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-24 12:02:36 +0100
commitbbf7f56f949f48ec0cf95d416b431d0cd739582f (patch)
treeadb18b5b46738e81093444ae1fa860e48647373a /lib/private/templatelayout.php
parente5c6af51027f786d74f859584f0aa6c85db6ead6 (diff)
downloadnextcloud-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.php3
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()) {