mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12236] Move AOL Instant Messanger field to custom profile field
PHPBB3-12236
This commit is contained in:
@@ -264,7 +264,6 @@ class ucp_profile
|
||||
$cp_data = $cp_error = array();
|
||||
|
||||
$data = array(
|
||||
'aim' => request_var('aim', $user->data['user_aim']),
|
||||
'jabber' => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
|
||||
);
|
||||
|
||||
@@ -288,7 +287,6 @@ class ucp_profile
|
||||
if ($submit)
|
||||
{
|
||||
$validate_array = array(
|
||||
'aim' => array('string', true, 3, 255),
|
||||
'jabber' => array(
|
||||
array('string', true, 5, 255),
|
||||
array('jabber')),
|
||||
@@ -331,7 +329,6 @@ class ucp_profile
|
||||
}
|
||||
|
||||
$sql_ary = array(
|
||||
'user_aim' => $data['aim'],
|
||||
'user_jabber' => $data['jabber'],
|
||||
'user_notify_type' => $data['notify'],
|
||||
);
|
||||
@@ -394,8 +391,6 @@ class ucp_profile
|
||||
|
||||
$template->assign_vars(array(
|
||||
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
||||
|
||||
'AIM' => $data['aim'],
|
||||
'JABBER' => $data['jabber'],
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user