diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 09:28:42 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 09:28:42 +0200 |
commit | c3fb021acf976ba1f02a83904122313a846d9a30 (patch) | |
tree | a7f04657dd25bbb0c43048c7df37110157a8ada3 /lib | |
parent | 4c0d1b0460d3ab4f6d37562a88a27cff680d41c6 (diff) | |
parent | cd516eedcd4cca1abb92d8781749a6f152d34319 (diff) | |
download | nextcloud-server-c3fb021acf976ba1f02a83904122313a846d9a30.tar.gz nextcloud-server-c3fb021acf976ba1f02a83904122313a846d9a30.zip |
Merge pull request #16017 from owncloud/proper-update-notification
Use OC.Notification for update notifications
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/templatelayout.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index 448276ca7fe..0e1a8f33c45 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -85,6 +85,7 @@ class OC_TemplateLayout extends OC_Template { $this->assign('updateAvailable', true); $this->assign('updateVersion', $data['versionstring']); $this->assign('updateLink', $data['web']); + \OCP\Util::addScript('core', 'update-notification'); } else { $this->assign('updateAvailable', false); // No update available or not an admin user } |