aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_sphinx.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-24 12:06:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-07 14:41:39 +0100
commit37ae99c75d388221489aa1069078d92eca413741 (patch)
treec94d5cf5b816e7cfc5bf3e698f63b2b418629268 /phpBB/phpbb/search/fulltext_sphinx.php
parent4ea90ca44d6d274f1ff6e6e3b4821f9e8cd1e9da (diff)
downloadforums-37ae99c75d388221489aa1069078d92eca413741.tar
forums-37ae99c75d388221489aa1069078d92eca413741.tar.gz
forums-37ae99c75d388221489aa1069078d92eca413741.tar.bz2
forums-37ae99c75d388221489aa1069078d92eca413741.tar.xz
forums-37ae99c75d388221489aa1069078d92eca413741.zip
[ticket/10748] Replace direct creations of tools();
PHPBB3-10748
Diffstat (limited to 'phpBB/phpbb/search/fulltext_sphinx.php')
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php
index 0be646ff06..a5ad96b114 100644
--- a/phpBB/phpbb/search/fulltext_sphinx.php
+++ b/phpBB/phpbb/search/fulltext_sphinx.php
@@ -136,7 +136,8 @@ class fulltext_sphinx
$this->auth = $auth;
// Initialize \phpbb\db\tools\tools object
- $this->db_tools = new \phpbb\db\tools\tools($this->db);
+ global $phpbb_container; // TODO inject into object
+ $this->db_tools = $phpbb_container->get('dbal.tools');
if(!$this->config['fulltext_sphinx_id'])
{