Don't show deleted users in "also has access to" section.
Patch by yvi.
diffs (12 lines):
diff -r 12fbf1b192f0 -r 323355b5c882 htdocs/userinfo.bml
--- a/htdocs/userinfo.bml Mon Nov 23 16:26:55 2009 +0000
+++ b/htdocs/userinfo.bml Mon Nov 23 16:46:54 2009 +0000
@@ -710,7 +710,7 @@ body<=
);
my @not_mutually_trusted_by_list = sort { $a->display_name cmp
$b->display_name }
- grep { $_->is_personal || $_->is_identity }
+ grep { ( $_->is_personal || $_->is_identity ) &&
$includeuser->( $_ ) }
map { $us->{$_} } @not_mutually_trusted_by_userids;
my $not_mutually_trusted_by_body_name_ml =
@not_mutually_trusted_by_list ?
{ ml => '.people.not_mutually_trusted_by.some', opts => {
num => scalar @not_mutually_trusted_by_list } } :
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog