aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/UpdateChecker.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-14 14:21:49 +0100
committerJoas Schilling <coding@schilljs.com>2018-03-20 15:52:30 +0100
commitec1e0397901f12cd1c9dc99eab60d6464cac5a0b (patch)
treeffc03af8a2d89d3ffb610c104f401f86a1f4c543 /apps/updatenotification/lib/UpdateChecker.php
parent64feb3f3912f0976bb028f5d56a6434c55085925 (diff)
downloadnextcloud-server-ec1e0397901f12cd1c9dc99eab60d6464cac5a0b.tar.gz
nextcloud-server-ec1e0397901f12cd1c9dc99eab60d6464cac5a0b.zip
Show EOL warning in the update section
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/lib/UpdateChecker.php')
-rw-r--r--apps/updatenotification/lib/UpdateChecker.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php
index 5f2712423d2..bba1fa5d48c 100644
--- a/apps/updatenotification/lib/UpdateChecker.php
+++ b/apps/updatenotification/lib/UpdateChecker.php
@@ -49,6 +49,7 @@ class UpdateChecker {
$result['updateAvailable'] = true;
$result['updateVersion'] = $data['versionstring'];
$result['updaterEnabled'] = $data['autoupdater'] === '1';
+ $result['versionIsEol'] = $data['eol'] === '1';
if (strpos($data['web'], 'https://') === 0) {
$result['updateLink'] = $data['web'];
}