aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/db_tools.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-01-08 22:07:26 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-09 16:44:05 -0600
commit6c44dadecbf50d6550f98dd1e1694519f39be680 (patch)
treed23243249bdea3eea2097136c2c79e471c3bd1e4 /phpBB/includes/db/db_tools.php
parent41de95bc11c0b64eafa294f03432f619d3d712d5 (diff)
downloadforums-6c44dadecbf50d6550f98dd1e1694519f39be680.tar
forums-6c44dadecbf50d6550f98dd1e1694519f39be680.tar.gz
forums-6c44dadecbf50d6550f98dd1e1694519f39be680.tar.bz2
forums-6c44dadecbf50d6550f98dd1e1694519f39be680.tar.xz
forums-6c44dadecbf50d6550f98dd1e1694519f39be680.zip
[feature/migrations] Move migrator to service container
Version numbers 3.1 updates Restore database_update.php file to what it was in develop Get first forum to place global announcements in PHPBB3-9737
Diffstat (limited to 'phpBB/includes/db/db_tools.php')
-rw-r--r--phpBB/includes/db/db_tools.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php
index 2bb016cebd..5329d871c8 100644
--- a/phpBB/includes/db/db_tools.php
+++ b/phpBB/includes/db/db_tools.php
@@ -346,6 +346,16 @@ class phpbb_db_tools
}
/**
+ * Setter for {@link $return_statements return_statements}.
+ *
+ * @param bool $return_statements True if SQL should not be executed but returned as strings
+ */
+ public function set_return_statements($return_statements)
+ {
+ $this->return_statements = $return_statements;
+ }
+
+ /**
* Gets a list of tables in the database.
*
* @return array Array of table names (all lower case)