aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/console/command/db/console_migrator_output_handler.php2
-rw-r--r--phpBB/phpbb/db/html_migrator_output_handler.php2
-rw-r--r--phpBB/phpbb/db/migrator.php10
3 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/phpbb/console/command/db/console_migrator_output_handler.php b/phpBB/phpbb/console/command/db/console_migrator_output_handler.php
index 0c494cea63..74549e8e42 100644
--- a/phpBB/phpbb/console/command/db/console_migrator_output_handler.php
+++ b/phpBB/phpbb/console/command/db/console_migrator_output_handler.php
@@ -58,7 +58,7 @@ class console_migrator_output_handler implements migrator_output_handler_interfa
{
$translated_message = '<info>' . $translated_message . '</info>';
}
- else if ($verbosity === migrator_output_handler_interface::VERBOSITY_VERY_VERBOSE)
+ else if ($verbosity === migrator_output_handler_interface::VERBOSITY_VERBOSE)
{
$translated_message = '<comment>' . $translated_message . '</comment>';
}
diff --git a/phpBB/phpbb/db/html_migrator_output_handler.php b/phpBB/phpbb/db/html_migrator_output_handler.php
index 82b7b416e2..e37c667463 100644
--- a/phpBB/phpbb/db/html_migrator_output_handler.php
+++ b/phpBB/phpbb/db/html_migrator_output_handler.php
@@ -39,7 +39,7 @@ class html_migrator_output_handler implements migrator_output_handler_interface
*/
public function write($message, $verbosity)
{
- if ($verbosity <= migrator_output_handler_interface::VERBOSITY_NORMAL)
+ if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE)
{
$final_message = call_user_func_array(array($this->user, 'lang'), $message);
echo $final_message . "<br />\n";
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)