mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 06:20:46 +02:00
[ticket/11011] pass $auth to search backend constructor
$auth global var is passed to search backend constructor, as it is used by sphinx backend. PHPBB3-11011
This commit is contained in:
@@ -51,7 +51,7 @@ class phpbb_search_fulltext_sphinx
|
||||
*
|
||||
* @param string|bool $error Any error that occurs is passed on through this reference variable otherwise false
|
||||
*/
|
||||
public function __construct(&$error, $phpbb_root_path, $phpEx, $config, $db, $user)
|
||||
public function __construct(&$error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user)
|
||||
{
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->phpEx = $phpEx;
|
||||
|
Reference in New Issue
Block a user