Skip to content

Commit

Permalink
remove table-prefix from constract
Browse files Browse the repository at this point in the history
  • Loading branch information
alg5 committed Jul 3, 2016
1 parent c7591d0 commit 006278a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions config/services.yml
Expand Up @@ -25,11 +25,9 @@ services:
- %core.root_path%
- %core.php_ext%
- @request
- %core.table_prefix%
- @service_container
- @pagination
- @content.visibility
- %core.table_prefix%
- @profilefields.manager
- @dispatcher
- %tables.groups%
7 changes: 2 additions & 5 deletions controller/livesearch_ajax_handler.php
Expand Up @@ -47,9 +47,6 @@ class liveSearch_ajax_handler
/** @var \phpbb\content_visibility */
protected $content_visibility;

/** @var string PHP extension */
protected $table_prefix;

/** @var \phpbb\profilefields\manager */
protected $profilefields_manager;

Expand All @@ -59,7 +56,7 @@ class liveSearch_ajax_handler
/** @var array */
protected $thankers = array();

public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\auth\auth $auth, \phpbb\template\template $template, \phpbb\user $user, \phpbb\cache\service $cache, $phpbb_root_path, $php_ext, \phpbb\request\request_interface $request, $table_prefix, $phpbb_container, \phpbb\pagination $pagination, \phpbb\content_visibility $content_visibility, $table_prefix, \phpbb\profilefields\manager $profilefields_manager, \phpbb\event\dispatcher_interface $dispatcher, $groups_table)
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\auth\auth $auth, \phpbb\template\template $template, \phpbb\user $user, \phpbb\cache\service $cache, $phpbb_root_path, $php_ext, \phpbb\request\request_interface $request, $phpbb_container, \phpbb\pagination $pagination, \phpbb\content_visibility $content_visibility, \phpbb\profilefields\manager $profilefields_manager, \phpbb\event\dispatcher_interface $dispatcher, $groups_table)
{
$this->config = $config;
$this->db = $db;
Expand All @@ -73,7 +70,7 @@ public function __construct(\phpbb\config\config $config, \phpbb\db\driver\drive
$this->phpbb_container = $phpbb_container;
$this->pagination = $pagination;
$this->content_visibility = $content_visibility;
$this->table_prefix = $table_prefix;
//$this->table_prefix = $table_prefix;
$this->profilefields_manager = $profilefields_manager;
$this->dispatcher = $dispatcher;
$this->groups_table = $groups_table;
Expand Down

0 comments on commit 006278a

Please sign in to comment.