diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-02 12:53:29 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-02 12:53:29 +0100 |
commit | 7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7 (patch) | |
tree | c03b1da1ceb4082149602c21af5e50be795faeb4 /phpBB/memberlist.php | |
parent | 514a59ffa7b55b30d9af7aadf8735d6c2dfd48e1 (diff) | |
download | forums-7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7.tar forums-7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7.tar.gz forums-7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7.tar.bz2 forums-7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7.tar.xz forums-7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7.zip |
[ticket/11201] Rename profilefields class to manager
PHPBB3-11201
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 84fbb8218a..019b1873a0 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -617,7 +617,7 @@ switch ($mode) $profile_fields = array(); if ($config['load_cpf_viewprofile']) { - $cp = $phpbb_container->get('profilefields'); + $cp = $phpbb_container->get('profilefields.manager'); $profile_fields = $cp->generate_profile_fields_template('grab', $user_id); $profile_fields = (isset($profile_fields[$user_id])) ? $cp->generate_profile_fields_template('show', false, $profile_fields[$user_id]) : array(); } @@ -1554,7 +1554,7 @@ switch ($mode) // Load custom profile fields if ($config['load_cpf_memberlist']) { - $cp = $phpbb_container->get('profilefields'); + $cp = $phpbb_container->get('profilefields.manager'); // Grab all profile fields from users in id cache for later use - similar to the poster cache $profile_fields_cache = $cp->generate_profile_fields_template('grab', $user_list); |