Skip to content

Commit

Permalink
Update merge_users.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSheer committed Nov 21, 2015
1 parent 09aa2cb commit 35cb97f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/usergroup/merge_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,7 @@ function merge($source, $target)
'topics_posted' => null,
'topics_track' => null,
'topics_watch' => null,

'warnings' => 'user_id',

'zebra' => null,
) as $key => $data)
{
Expand Down Expand Up @@ -546,7 +544,7 @@ function merge($source, $target)
$update['target']['user_notify_type'] = NOTIFY_BOTH;
}

foreach (array('birthday', 'avatar', 'sig', 'from', 'icq', 'aim', 'yim', 'msnm', 'jabber', 'website', 'occ', 'interests') as $var)
foreach (array('birthday', 'avatar', 'sig', 'jabber') as $var)
{
if (!$target['user_' . $var] && $source['user_' . $var])
{
Expand Down

0 comments on commit 35cb97f

Please sign in to comment.