Make OpenID users bannable by URL, so we no longer need to hunt down 
the ext_123 form of their names.

        Patch by foxfirefey. 

diffs (12 lines):

diff -r e40ce51049ae -r eab3a4c6e042 htdocs/manage/banusers.bml
--- a/htdocs/manage/banusers.bml        Sat Jan 02 03:17:33 2010 +0000
+++ b/htdocs/manage/banusers.bml        Sat Jan 02 03:27:19 2010 +0000
@@ -50,7 +50,7 @@ body<=
             my @banlist_orig = split(/,/, $POST{ban_list});
             my @banlist;
             foreach my $banusername (@banlist_orig) {
-                my $banu = LJ::load_user($banusername);
+                my $banu = LJ::load_user_or_identity($banusername);
                 push @banlist, $banu->id if $banu;
             }
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to