aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-02 12:53:29 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-02 12:53:29 +0100
commit7bcbdfc1b15e0d014a22c76bb1eab6ccbc3d6dc7 (patch)
treec03b1da1ceb4082149602c21af5e50be795faeb4 /phpBB/includes/ucp
parent514a59ffa7b55b30d9af7aadf8735d6c2dfd48e1 (diff)
downloadforums-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/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php2
-rw-r--r--phpBB/includes/ucp/ucp_profile.php2
-rw-r--r--phpBB/includes/ucp/ucp_register.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index 78a0e010e6..119b84564a 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -61,7 +61,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
// Load the custom profile fields
if ($config['load_cpf_pm'])
{
- $cp = $phpbb_container->get('profilefields');
+ $cp = $phpbb_container->get('profilefields.manager');
$profile_fields = $cp->generate_profile_fields_template('grab', $author_id);
}
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 672588c51f..2fdd4bc905 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -256,7 +256,7 @@ class ucp_profile
trigger_error('NO_AUTH_PROFILEINFO');
}
- $cp = $phpbb_container->get('profilefields');
+ $cp = $phpbb_container->get('profilefields.manager');
$cp_data = $cp_error = array();
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index 333aa2816f..cb5f96133a 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -76,7 +76,7 @@ class ucp_register
}
}
- $cp = $phpbb_container->get('profilefields');
+ $cp = $phpbb_container->get('profilefields.manager');
$error = $cp_data = $cp_error = array();
$s_hidden_fields = array();