From: Joey Hess Date: Sat, 6 Feb 2010 20:29:25 +0000 (-0500) Subject: update comment re openid library version X-Git-Tag: 3.20100212~59 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/03777230ea17220527b7cd45b9a57770e859623c?ds=sidebyside update comment re openid library version --- 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; }