diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-10-20 19:42:54 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-10-20 19:42:54 +0200 |
commit | faf4b03c43ecac7aa16e42433cce591512f3ef90 (patch) | |
tree | c3ee2adb371dc28fbca2d5d86021dff04842ca90 /phpBB/phpbb/db/migrator.php | |
parent | 8f6fcd2744a80795139600c2a7c1f46f59b8cbfe (diff) | |
download | forums-faf4b03c43ecac7aa16e42433cce591512f3ef90.tar forums-faf4b03c43ecac7aa16e42433cce591512f3ef90.tar.gz forums-faf4b03c43ecac7aa16e42433cce591512f3ef90.tar.bz2 forums-faf4b03c43ecac7aa16e42433cce591512f3ef90.tar.xz forums-faf4b03c43ecac7aa16e42433cce591512f3ef90.zip |
[ticket/13126] Change messages verbosity levels
PHPBB3-13126
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r-- | phpBB/phpbb/db/migrator.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index 9d9ad4f409..c2fa04eb44 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -91,7 +91,7 @@ class migrator $this->table_prefix = $table_prefix; - $this->output_handler = new migrator_output_handler(); + $this->output_handler = new null_migrator_output_handler(); foreach ($tools as $tool) { @@ -257,7 +257,7 @@ class migrator $this->last_run_migration['effectively_installed'] = true; - $this->output_handler->write(array('MIGRATION_EFFECTIVELY_INSTALLED', $name), migrator_output_handler::VERBOSITY_NORMAL); + $this->output_handler->write(array('MIGRATION_EFFECTIVELY_INSTALLED', $name), migrator_output_handler::VERBOSITY_VERBOSE); } else { @@ -269,7 +269,7 @@ class migrator if (!$state['migration_schema_done']) { - $this->output_handler->write(array('MIGRATION_SCHEMA_RUNNING', $name), migrator_output_handler::VERBOSITY_VERY_VERBOSE); + $this->output_handler->write(array('MIGRATION_SCHEMA_RUNNING', $name), migrator_output_handler::VERBOSITY_VERBOSE); $this->last_run_migration['task'] = 'process_schema_step'; $elapsed_time = microtime(true); @@ -286,7 +286,7 @@ class migrator { try { - $this->output_handler->write(array('MIGRATION_DATA_RUNNING', $name), migrator_output_handler::VERBOSITY_VERY_VERBOSE); + $this->output_handler->write(array('MIGRATION_DATA_RUNNING', $name), migrator_output_handler::VERBOSITY_VERBOSE); $this->last_run_migration['task'] = 'process_data_step'; @@ -304,7 +304,7 @@ class migrator } else { - $this->output_handler->write(array('MIGRATION_DATA_IN_PROGRESS', $name, $elapsed_time), migrator_output_handler::VERBOSITY_VERBOSE); + $this->output_handler->write(array('MIGRATION_DATA_IN_PROGRESS', $name, $elapsed_time), migrator_output_handler::VERBOSITY_VERY_VERBOSE); } } catch (\phpbb\db\migration\exception $e) |