|
|
|
@ -89,11 +89,9 @@ foreach my $user (($a->users),$a->get('admin')){ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
# As we're here, lets update the email address and the display name |
|
|
|
|
# First, delete parameter if it's an array (meaning it's empty |
|
|
|
|
delete $data->{"\0*\0parameters"} unless( |
|
|
|
|
defined $data->{"\0*\0parameters"}->{'AJXP_REPO_SCOPE_ALL'}->{'core.conf'}->{'email'} || |
|
|
|
|
defined $data->{"\0*\0parameters"}->{'AJXP_REPO_SCOPE_ALL'}->{'core.conf'}->{'USER_DISPLAY_NAME'} |
|
|
|
|
); |
|
|
|
|
# First, delete parameter if it's an array (meaning it's empty) |
|
|
|
|
delete $data->{"\0*\0parameters"} if (ref ($data->{"\0*\0parameters"})=~ m/ARRAY/i); |
|
|
|
|
|
|
|
|
|
$data->{"\0*\0parameters"}->{'AJXP_REPO_SCOPE_ALL'}->{'core.conf'}->{'email'} = "$name\@$domain"; |
|
|
|
|
$data->{"\0*\0parameters"}->{'AJXP_REPO_SCOPE_ALL'}->{'core.conf'}->{'USER_DISPLAY_NAME'} = "$first $last"; |
|
|
|
|
|
|
|
|
|