summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/UpdateChecker.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/UpdateChecker.php')
-rw-r--r--apps/updatenotification/lib/UpdateChecker.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php
index bba1fa5d48c..f7b45a03f26 100644
--- a/apps/updatenotification/lib/UpdateChecker.php
+++ b/apps/updatenotification/lib/UpdateChecker.php
@@ -56,6 +56,12 @@ class UpdateChecker {
if (strpos($data['url'], 'https://') === 0) {
$result['downloadLink'] = $data['url'];
}
+ if (strpos($data['changelog'], 'https://') === 0) {
+ $result['changelog'] = $data['changelog'];
+ }
+ if($data['whatsNew'] !== null) {
+ $result['whatsNew'] = $data['whatsNew'];
+ }
return $result;
}