summaryrefslogtreecommitdiffstats
path: root/lib/private/templatelayout.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-21 14:01:49 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-21 14:01:49 +0200
commitcb366666003a6a40f075aceb2acbe05b37bd4363 (patch)
treea1d8515c9d64f7961014dcc25fd360dfc272b3c1 /lib/private/templatelayout.php
parent3e499d1ac4fb18ee24c7a7aa032619a21e08a97f (diff)
parentd9907b6fa3c1523ee19bc6c3d888a0d71521819e (diff)
downloadnextcloud-server-cb366666003a6a40f075aceb2acbe05b37bd4363.tar.gz
nextcloud-server-cb366666003a6a40f075aceb2acbe05b37bd4363.zip
Merge pull request #11630 from owncloud/kill-some-legacy
remove legacy class OC_Updater
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 558ddad4af2..f5f079c8b2a 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -46,7 +46,7 @@ class OC_TemplateLayout extends OC_Template {
if($this->config->getSystemValue('updatechecker', true) === true &&
OC_User::isAdminUser(OC_User::getUser())) {
$updater = new \OC\Updater();
- $data = $updater->check('http://apps.owncloud.com/updater.php');
+ $data = $updater->check();
if(isset($data['version']) && $data['version'] != '' and $data['version'] !== Array()) {
$this->assign('updateAvailable', true);