From 8f5a0ad6f73e7b7757b02c827436384c96069b5a Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Fri, 24 Jul 2015 09:20:50 +0200 Subject: [ticket/14039] Revamp updater PHPBB3-14039 --- phpBB/phpbb/db/html_migrator_output_handler.php | 48 ------------------------- 1 file changed, 48 deletions(-) delete mode 100644 phpBB/phpbb/db/html_migrator_output_handler.php (limited to 'phpBB/phpbb/db/html_migrator_output_handler.php') diff --git a/phpBB/phpbb/db/html_migrator_output_handler.php b/phpBB/phpbb/db/html_migrator_output_handler.php deleted file mode 100644 index e37c667463..0000000000 --- a/phpBB/phpbb/db/html_migrator_output_handler.php +++ /dev/null @@ -1,48 +0,0 @@ - -* @license GNU General Public License, version 2 (GPL-2.0) -* -* For full copyright and license information, please see -* the docs/CREDITS.txt file. -* -*/ - -namespace phpbb\db; - -use phpbb\user; - -class html_migrator_output_handler implements migrator_output_handler_interface -{ - /** - * User object. - * - * @var user - */ - private $user; - - /** - * Constructor - * - * @param user $user User object - */ - public function __construct(user $user) - { - $this->user = $user; - } - - /** - * {@inheritdoc} - */ - public function write($message, $verbosity) - { - if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE) - { - $final_message = call_user_func_array(array($this->user, 'lang'), $message); - echo $final_message . "
\n"; - } - } -} -- cgit v1.2.1