1
0
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:
Joas Schilling
2014-03-05 22:13:22 +01:00
parent a1dab58f6d
commit f2059f52f3
40 changed files with 141 additions and 136 deletions

View File

@@ -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'],
));