1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12237] Convert yahoo messanger to custom profile field

PHPBB3-12237
This commit is contained in:
Joas Schilling
2014-03-04 11:22:55 +01:00
parent 71354ef185
commit 2e5106aae1
30 changed files with 119 additions and 69 deletions

View File

@@ -265,7 +265,6 @@ class ucp_profile
$data = array(
'aim' => request_var('aim', $user->data['user_aim']),
'yim' => request_var('yim', $user->data['user_yim']),
'jabber' => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
);
@@ -293,7 +292,6 @@ class ucp_profile
'jabber' => array(
array('string', true, 5, 255),
array('jabber')),
'yim' => array('string', true, 5, 255),
);
if ($config['allow_birthdays'])
@@ -334,7 +332,6 @@ class ucp_profile
$sql_ary = array(
'user_aim' => $data['aim'],
'user_yim' => $data['yim'],
'user_jabber' => $data['jabber'],
'user_notify_type' => $data['notify'],
);
@@ -398,7 +395,6 @@ class ucp_profile
$template->assign_vars(array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'YIM' => $data['yim'],
'AIM' => $data['aim'],
'JABBER' => $data['jabber'],
));