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:
@@ -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'],
|
||||
));
|
||||
|
Reference in New Issue
Block a user