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