diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-28 13:48:58 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-02 20:30:37 +0100 |
commit | 2c4035e80679b6ebf8e56d86f88701f3ddb65bec (patch) | |
tree | a1bd0571d1bc4eab25ad28f4120bfae4582de637 /lib/private/DB/Connection.php | |
parent | cd13f50a3f1fbcae757672b4a471d8fbcf959b08 (diff) | |
download | nextcloud-server-2c4035e80679b6ebf8e56d86f88701f3ddb65bec.tar.gz nextcloud-server-2c4035e80679b6ebf8e56d86f88701f3ddb65bec.zip |
Inject config and logger
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r-- | lib/private/DB/Connection.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index dfe2e86b617..497ff0c8a26 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -67,7 +67,11 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { * @return \OCP\DB\QueryBuilder\IQueryBuilder */ public function getQueryBuilder() { - return new QueryBuilder($this); + return new QueryBuilder( + $this, + \OC::$server->getSystemConfig(), + \OC::$server->getLogger() + ); } /** |