mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
Only show the version updating to instead of worrying about converting internal to a formatted version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<ul>
|
||||
<li class='update'>
|
||||
<?php echo $l->t('Updating ownCloud from version %s to version %s, this may take a while.', array($_['installed'], $_['current'])); ?><br /><br />
|
||||
<?php echo $l->t('Updating ownCloud to version %s, this may take a while.', array($_['version'])); ?><br /><br />
|
||||
</li>
|
||||
</ul>
|
||||
<script>
|
||||
|
||||
@@ -247,8 +247,7 @@ class OC
|
||||
OC_Config::setValue('maintenance', true);
|
||||
OC_Log::write('core', 'starting upgrade from ' . $installedVersion . ' to ' . $currentVersion, OC_Log::DEBUG);
|
||||
$tmpl = new OC_Template('', 'update', 'guest');
|
||||
$tmpl->assign('current', $currentVersion);
|
||||
$tmpl->assign('installed', $installedVersion);
|
||||
$tmpl->assign('version', OC_Util::getVersionString());
|
||||
$tmpl->printPage();
|
||||
exit();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user