diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-12-10 01:13:38 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-12-10 01:13:38 +0300 |
commit | c9fd3c9d2960c6457440427513f04a4f338a23d5 (patch) | |
tree | 81166aeedd483ced13863347820233e3491ea8f0 /lib/private/templatelayout.php | |
parent | 81d571241991926f8820c43020a0250eb305a0b0 (diff) | |
download | nextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.tar.gz nextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.zip |
Inject config
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r-- | lib/private/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index aefb93ec266..fa025721e53 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -44,7 +44,7 @@ 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()); + $updater = new \OC\Updater(\OC::$server->getHTTPHelper(), \OC::$server->getAppConfig()); $data = $updater->check(); if(isset($data['version']) && $data['version'] != '' and $data['version'] !== Array()) { |