aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/null_migrator_output_handler.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-10-25 12:04:58 -0700
committerNils Adermann <naderman@naderman.de>2014-10-25 12:04:58 -0700
commitd9f84da57799f92c080f7b41daa1bde349616156 (patch)
tree7ea17634b96ed44441df9c8d0ec7cc10276ab7d3 /phpBB/phpbb/db/null_migrator_output_handler.php
parentd3026bd8956a7ecbbd001238d91462924592e96a (diff)
parent6308a442d1b6ff61bd61b48e9628cae2884f7785 (diff)
downloadforums-d9f84da57799f92c080f7b41daa1bde349616156.tar
forums-d9f84da57799f92c080f7b41daa1bde349616156.tar.gz
forums-d9f84da57799f92c080f7b41daa1bde349616156.tar.bz2
forums-d9f84da57799f92c080f7b41daa1bde349616156.tar.xz
forums-d9f84da57799f92c080f7b41daa1bde349616156.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13211] Move console migrator output handler back to console folder [ticket/13211] Also use log wrapper output handler for console migrations [ticket/13211] Move console migrator output handler to db folder [ticket/13211] Add log wrapper for writing database updater to log file [ticket/13126] Add missing use statement [ticket/13126] Fix tests [ticket/13126] Change messages verbosity levels [ticket/13126] Move migrator_output_handler to an interface [ticket/13126] Extends migrator_output_handler instead of using a closure [ticket/13126] Improve the feedback when running the migrations
Diffstat (limited to 'phpBB/phpbb/db/null_migrator_output_handler.php')
-rw-r--r--phpBB/phpbb/db/null_migrator_output_handler.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/null_migrator_output_handler.php b/phpBB/phpbb/db/null_migrator_output_handler.php
new file mode 100644
index 0000000000..0e8cfbb049
--- /dev/null
+++ b/phpBB/phpbb/db/null_migrator_output_handler.php
@@ -0,0 +1,24 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @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;
+
+class null_migrator_output_handler implements migrator_output_handler_interface
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function write($message, $verbosity)
+ {
+ }
+}