diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-10-25 11:55:15 -0700 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-10-25 11:55:15 -0700 |
commit | 84434630065c2491cfa5e65a69b8b22d6844b6f4 (patch) | |
tree | 88eb67f07f2b139e4b3a9e811fee27c1800aa3e3 /phpBB/phpbb/db | |
parent | b27b9a6984f2ed3a9a186133657d30b4cca883c0 (diff) | |
download | forums-84434630065c2491cfa5e65a69b8b22d6844b6f4.tar forums-84434630065c2491cfa5e65a69b8b22d6844b6f4.tar.gz forums-84434630065c2491cfa5e65a69b8b22d6844b6f4.tar.bz2 forums-84434630065c2491cfa5e65a69b8b22d6844b6f4.tar.xz forums-84434630065c2491cfa5e65a69b8b22d6844b6f4.zip |
[ticket/13211] Also use log wrapper output handler for console migrations
PHPBB3-13211
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/log_wrapper_migrator_output_handler.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/phpbb/db/log_wrapper_migrator_output_handler.php b/phpBB/phpbb/db/log_wrapper_migrator_output_handler.php index e81dfd7a62..94c293dc45 100644 --- a/phpBB/phpbb/db/log_wrapper_migrator_output_handler.php +++ b/phpBB/phpbb/db/log_wrapper_migrator_output_handler.php @@ -25,11 +25,11 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int protected $user; /** - * HTML migrator output handler + * A migrator output handler * - * @var html_migrator_output_handler + * @var migrator_output_handler_interface */ - protected $html_migrator; + protected $migrator; /** * Log file handle @@ -41,13 +41,13 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int * Constructor * * @param user $user User object - * @param html_migrator_output_handler $html_migrator HTML migrator output handler + * @param migrator_output_handler_interface $migrator Migrator output handler * @param string $log_file File to log to */ - public function __construct(user $user, html_migrator_output_handler $html_migrator, $log_file) + public function __construct(user $user, migrator_output_handler_interface $migrator, $log_file) { $this->user = $user; - $this->html_migrator = $html_migrator; + $this->migrator = $migrator; $this->file_open($log_file); } @@ -73,7 +73,7 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int */ public function write($message, $verbosity) { - $this->html_migrator->write($message, $verbosity); + $this->migrator->write($message, $verbosity); if ($this->file_handle !== false) { |