Changed upgrade report to be more real-time

This commit is contained in:
Marcin Kurczewski 2014-11-09 12:31:58 +01:00
parent 1edc1636a3
commit 98c8d05d42

View file

@ -40,7 +40,12 @@ final class UpgradeService
if ($this->isUpgradeNeeded($upgrade))
{
if ($verbose)
{
echo 'Running ' . get_class($upgrade) . PHP_EOL;
if (ob_get_level())
ob_flush();
flush();
}
$this->runUpgrade($upgrade);
}
}