summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-02-09 13:06:48 +0100
committerLukas Reschke <lukas@owncloud.com>2016-02-09 18:05:51 +0100
commitabc675d87e6ffc49fad608d5b2e8d280e385cc61 (patch)
tree558a752af5c3d9936cbd597ea76607f57e22c32c /core/templates
parent29820176825c41acef30fa6942922aeb36cfcec3 (diff)
downloadnextcloud-server-abc675d87e6ffc49fad608d5b2e8d280e385cc61.tar.gz
nextcloud-server-abc675d87e6ffc49fad608d5b2e8d280e385cc61.zip
Move update notification code into app
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small. Furthermore also makes some more code unit-testable...
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 7905f5b7f3a..f79defe100e 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -2,11 +2,7 @@
<!--[if lte IE 8]><html class="ng-csp ie ie8 lte9 lte8" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
<!--[if IE 9]><html class="ng-csp ie ie9 lte9" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" ><!--<![endif]-->
- <head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>"
- <?php if ($_['updateAvailable']): ?>
- data-update-version="<?php p($_['updateVersion']); ?>" data-update-link="<?php p($_['updateLink']); ?>"
- <?php endif; ?>
- >
+ <head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
<meta charset="utf-8">
<title>
<?php