[ticket/13211] Move console migrator output handler to db folder

PHPBB3-13211
This commit is contained in:
Marc Alexander 2014-10-24 13:33:26 -07:00
parent 516bd9ea51
commit b27b9a6984
2 changed files with 2 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class migrate extends \phpbb\console\command\command
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->migrator->set_output_handler(new console_migrator_output_handler($this->user, $output));
$this->migrator->set_output_handler(new \phpbb\db\console_migrator_output_handler($this->user, $output));
$this->migrator->create_migrations_table();

View file

@ -11,10 +11,9 @@
*
*/
namespace phpbb\console\command\db;
namespace phpbb\db;
use phpbb\user;
use phpbb\db\migrator_output_handler_interface;
use Symfony\Component\Console\Output\OutputInterface;
class console_migrator_output_handler implements migrator_output_handler_interface