Changed upgrade report to be more real-time
This commit is contained in:
parent
1edc1636a3
commit
98c8d05d42
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue