Commit 8e96ebfa0b49881a263e98882a7f6bcb86cbbd3f

Authored by nbm
1 parent 9c147a0a

Flush after printing the upgrade description, so that the current/last

item being worked upon is known


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5445 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 1 deletions
setup/upgrade.php
... ... @@ -77,7 +77,9 @@ function performAllUpgrades () {
77 77 $upgrades = describeUpgrade($lastVersion, $currentVersion);
78 78  
79 79 foreach ($upgrades as $upgrade) {
80   - printf('<div style="float: right">%s</div>', htmlspecialchars($upgrade->getDescription()));
  80 + printf('<div style="float: right">%s</div>' . "\n", htmlspecialchars($upgrade->getDescription()));
  81 + ob_flush();
  82 + flush();
81 83 $res = $upgrade->performUpgrade();
82 84 printf('<div style="float: left">%s</div>', showResult($res));
83 85 print '<br style="clear: both">' . "\n";
... ...