aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-23 13:08:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-23 13:11:08 +0200
commit3f740966dcd9f65b0c9582e25be596ad69019fac (patch)
tree4addb6f00bd30d5e95cb2fe70146bea504a45deb /apps/updatenotification/lib
parentb4f36d44c43aac0efdc6c70ff8e46473341a9bfe (diff)
downloadnextcloud-server-3f740966dcd9f65b0c9582e25be596ad69019fac.tar.gz
nextcloud-server-3f740966dcd9f65b0c9582e25be596ad69019fac.zip
Revert "Show an update button instead of the updater"
This reverts commit 202ae42506e9bbb167889735b2c56ccebace594b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/updatenotification/lib')
-rw-r--r--apps/updatenotification/lib/Controller/AdminController.php1
-rw-r--r--apps/updatenotification/lib/UpdateChecker.php3
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php
index 16ae8144b16..9f10f1b32f2 100644
--- a/apps/updatenotification/lib/Controller/AdminController.php
+++ b/apps/updatenotification/lib/Controller/AdminController.php
@@ -112,7 +112,6 @@ class AdminController extends Controller implements ISettings {
'currentChannel' => $currentChannel,
'channels' => $channels,
'newVersionString' => ($updateState === []) ? '' : $updateState['updateVersion'],
- 'downloadLink' => (empty($updateState['downloadLink'])) ? '' : $updateState['downloadLink'],
'notify_groups' => implode('|', $notifyGroups),
];
diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php
index 5f759b7c843..dd51831007c 100644
--- a/apps/updatenotification/lib/UpdateChecker.php
+++ b/apps/updatenotification/lib/UpdateChecker.php
@@ -49,9 +49,6 @@ class UpdateChecker {
if(substr($data['web'], 0, 8) === 'https://') {
$result['updateLink'] = $data['web'];
}
- if(substr($data['url'], 0, 8) === 'https://') {
- $result['downloadLink'] = $data['url'];
- }
return $result;
}