aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-09-12 10:24:02 +0200
committerJoas Schilling <coding@schilljs.com>2018-09-12 10:24:02 +0200
commit57ef1d307bec09c61b813ca6bafe261e8fe4df22 (patch)
tree8449dbdf6c5ea730a51e6c3dfb6b8d8859d38621 /apps/updatenotification/lib
parent039145c4d1ed37f2163eba94858f695e355eb995 (diff)
downloadnextcloud-server-57ef1d307bec09c61b813ca6bafe261e8fe4df22.tar.gz
nextcloud-server-57ef1d307bec09c61b813ca6bafe261e8fe4df22.zip
Fix the link and anchor for the update notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/lib')
-rw-r--r--apps/updatenotification/lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php
index c88937f0dff..4e3a30f225e 100644
--- a/apps/updatenotification/lib/Notification/Notifier.php
+++ b/apps/updatenotification/lib/Notification/Notifier.php
@@ -108,7 +108,7 @@ class Notifier implements INotifier {
$notification->setParsedSubject($l->t('Update to %1$s is available.', [$parameters['version']]));
if ($this->isAdmin()) {
- $notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index') . '#updater');
+ $notification->setLink($this->url->linkToRouteAbsolute('settings.AdminSettings.index', ['section' => 'overview']) . '#version');
}
} else {
$appInfo = $this->getAppInfo($notification->getObjectType());