From 03777230ea17220527b7cd45b9a57770e859623c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 6 Feb 2010 15:29:25 -0500 Subject: [PATCH] update comment re openid library version --- IkiWiki.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.26.2