aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-26 03:15:12 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-27 17:48:37 +0530
commit98262a5a175727b2dacea283d2fec127a35ed819 (patch)
tree8e4350f94746f267df4aab645c40d5dead24ec50 /phpBB
parent2cf4a4f6fe74ee6d774956113570d6ed7c5246cc (diff)
downloadforums-98262a5a175727b2dacea283d2fec127a35ed819.tar
forums-98262a5a175727b2dacea283d2fec127a35ed819.tar.gz
forums-98262a5a175727b2dacea283d2fec127a35ed819.tar.bz2
forums-98262a5a175727b2dacea283d2fec127a35ed819.tar.xz
forums-98262a5a175727b2dacea283d2fec127a35ed819.zip
[ticket/12759] Remove lang_helper from profilefields_manager
No longer required PHPBB3-12759
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/config/profilefields.yml1
-rw-r--r--phpBB/phpbb/profilefields/manager.php10
2 files changed, 1 insertions, 10 deletions
diff --git a/phpBB/config/profilefields.yml b/phpBB/config/profilefields.yml
index 2ed8ca5600..ce2a84b12b 100644
--- a/phpBB/config/profilefields.yml
+++ b/phpBB/config/profilefields.yml
@@ -5,7 +5,6 @@ services:
- @auth
- @dbal.conn
- @dispatcher
- - @profilefields.lang_helper
- @request
- @template
- @profilefields.type_collection
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php
index bd08580431..490db0419a 100644
--- a/phpBB/phpbb/profilefields/manager.php
+++ b/phpBB/phpbb/profilefields/manager.php
@@ -37,12 +37,6 @@ class manager
protected $dispatcher;
/**
- * Profile fields language helper
- * @var \phpbb\profilefields\lang_helper
- */
- protected $lang_helper;
-
- /**
* Request object
* @var \phpbb\request\request
*/
@@ -80,7 +74,6 @@ class manager
* @param \phpbb\auth\auth $auth Auth object
* @param \phpbb\db\driver\driver_interface $db Database object
* @param \phpbb\event\dispatcher $dispatcher Event dispatcher object
- * @param \phpbb\profilefields\lang_helper $lang_helper Language helper object
* @param \phpbb\request\request $request Request object
* @param \phpbb\template\template $template Template object
* @param \phpbb\di\service_collection $type_collection
@@ -89,12 +82,11 @@ class manager
* @param string $fields_language_table
* @param string $fields_data_table
*/
- public function __construct(\phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\event\dispatcher $dispatcher, \phpbb\profilefields\lang_helper $lang_helper, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\di\service_collection $type_collection, \phpbb\user $user, $fields_table, $fields_language_table, $fields_data_table)
+ public function __construct(\phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\event\dispatcher $dispatcher, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\di\service_collection $type_collection, \phpbb\user $user, $fields_table, $fields_language_table, $fields_data_table)
{
$this->auth = $auth;
$this->db = $db;
$this->dispatcher = $dispatcher;
- $this->lang_helper = $lang_helper;
$this->request = $request;
$this->template = $template;
$this->type_collection = $type_collection;