aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-06 15:29:25 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-06 15:29:25 -0500
commit03777230ea17220527b7cd45b9a57770e859623c (patch)
treee57f385d201fa59421caa6374b812744e626e62f
parent1af8db763b76856a3f8fb4d79333b19ef5083637 (diff)
downloadikiwiki-03777230ea17220527b7cd45b9a57770e859623c.tar
ikiwiki-03777230ea17220527b7cd45b9a57770e859623c.tar.gz
update comment re openid library version
-rw-r--r--IkiWiki.pm3
1 files changed, 1 insertions, 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;
}