Commit c38b9670911dac77521ece1576851e8b2d4b5e46

Authored by Neil Blakey-Milner
1 parent 86f1ef30

Don't start a comment at the start of permission lookup building and end

it at the end - problems in between may not show up properly in some
browsers.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5448 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/upgrades/UpgradeItems.inc.php
... ... @@ -350,16 +350,16 @@ class FunctionUpgradeItem extends UpgradeItem {
350 350 class KTRebuildPermissionObserver {
351 351 function start() {
352 352 $this->lastBeat = time();
353   - print "<!-- ";
354 353 }
355 354 function receiveMessage() {
356 355 $now = time();
357 356 if ($this->lastBeat + 15 < $now) {
358   - print " ";
  357 + print "<!-- -->";
  358 + ob_flush();
  359 + flush();
359 360 }
360 361 }
361 362 function end() {
362   - print " -->";
363 363 }
364 364 }
365 365  
... ...