summaryrefslogtreecommitdiffstats
path: root/lib/private/templatelayout.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-11-25 22:41:15 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-12-06 20:17:47 +0300
commit303fce44f487e50a09910acdb28bc6c99b4b04b8 (patch)
treedce2dc668f47b72ca6da5982f0ba1bc335461eaa /lib/private/templatelayout.php
parent94eb2e782fa164492dd2665e6651eaa7068039aa (diff)
downloadnextcloud-server-303fce44f487e50a09910acdb28bc6c99b4b04b8.tar.gz
nextcloud-server-303fce44f487e50a09910acdb28bc6c99b4b04b8.zip
Use httphelper and cache response even when it empty
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r--lib/private/templatelayout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php
index a066f90bb23..aefb93ec266 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();
+ $updater = new \OC\Updater(\OC::$server->getHTTPHelper());
$data = $updater->check();
if(isset($data['version']) && $data['version'] != '' and $data['version'] !== Array()) {