aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields/manager.php
diff options
context:
space:
mode:
authorShitiz Garg <mail@dragooon.net>2014-06-26 03:07:45 +0530
committerShitiz Garg <mail@dragooon.net>2014-06-27 17:48:37 +0530
commit2cf4a4f6fe74ee6d774956113570d6ed7c5246cc (patch)
tree33197bd3ede53b63997c2b55a84569153ae60d58 /phpBB/phpbb/profilefields/manager.php
parentc1df2ce62a62517e840ff30fa11a6cffb84396bc (diff)
downloadforums-2cf4a4f6fe74ee6d774956113570d6ed7c5246cc.tar
forums-2cf4a4f6fe74ee6d774956113570d6ed7c5246cc.tar.gz
forums-2cf4a4f6fe74ee6d774956113570d6ed7c5246cc.tar.bz2
forums-2cf4a4f6fe74ee6d774956113570d6ed7c5246cc.tar.xz
forums-2cf4a4f6fe74ee6d774956113570d6ed7c5246cc.zip
[ticket/12759] Cache all lang_options in lang_helper instead
PHPBB3-12759
Diffstat (limited to 'phpBB/phpbb/profilefields/manager.php')
-rw-r--r--phpBB/phpbb/profilefields/manager.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php
index 251899146b..bd08580431 100644
--- a/phpBB/phpbb/profilefields/manager.php
+++ b/phpBB/phpbb/profilefields/manager.php
@@ -368,33 +368,6 @@ class manager
}
/**
- * Cache user's profile fields' language options
- * @param array $profile_row Array with users profile field data
- * @return void
- */
- public function cache_profile_fields_lang_options($profile_row)
- {
- if (!empty($profile_row))
- {
- $field_ids = array();
- foreach ($profile_row as $ident_ary)
- {
- if (empty($field_ids[$ident_ary['data']['lang_id']]))
- {
- $field_ids[$ident_ary['data']['lang_id']] = array();
- }
-
- $field_ids[$ident_ary['data']['lang_id']][] = $ident_ary['data']['field_id'];
- }
-
- foreach ($field_ids as $lang => $fields)
- {
- $this->lang_helper->get_option_lang($fields, $lang, false);
- }
- }
- }
-
- /**
* Assign the user's profile fields data to the template
*
* @param array $profile_row Array with users profile field data