diff --git a/IkiWiki.pm b/IkiWiki.pm index 0715f1869..2a0132745 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1103,11 +1103,10 @@ sub openiduser ($) { my $display; if (Net::OpenID::VerifiedIdentity->can("DisplayOfURL")) { - # this works in at least 2.x $display = Net::OpenID::VerifiedIdentity::DisplayOfURL($user); } else { - # this only works in 1.x + # backcompat with old version my $oid=Net::OpenID::VerifiedIdentity->new(identity => $user); $display=$oid->display; }