Only show the version updating to instead of worrying about converting internal to a formatted version

remotes/origin/stable5
Michael Gapczynski 13 years ago
parent f2e6df807d
commit a94405b4e4
  1. 2
      core/templates/update.php
  2. 3
      lib/base.php

@ -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 {

Loading…
Cancel
Save