aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/update.admin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-01-14 11:31:42 +0100
committerVincent Petry <pvince81@owncloud.com>2015-01-14 11:31:42 +0100
commit99304be4ef4c34e60c1b2f2d1589a9678a893181 (patch)
treef4280ac305d38ac62821d9b7aaab5917362c9ae3 /core/templates/update.admin.php
parent65ee2b1de88e490672067257a6a704a697d71e1e (diff)
downloadnextcloud-server-99304be4ef4c34e60c1b2f2d1589a9678a893181.tar.gz
nextcloud-server-99304be4ef4c34e60c1b2f2d1589a9678a893181.zip
Read version and product name from update template
During upgrade, the config settings aren't always available due to base.php changes. This fix makes the update info page read the product name and version from the update template, which already had them.
Diffstat (limited to 'core/templates/update.admin.php')
-rw-r--r--core/templates/update.admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index 29df0dd484a..ccd5d236828 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -1,4 +1,4 @@
-<div class="update">
+<div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
<div class="updateOverview">
<h2 class="title bold"><?php p($l->t('%s will be updated to version %s.',
array($_['productName'], $_['version']))); ?></h2>