remove userlink()

That was dead code; changes to lockedit and recentchanges removed the last
callers.
master
Joey Hess 2010-02-04 15:17:21 -05:00
parent 68f7be91e5
commit cfcb3d1880
1 changed files with 0 additions and 17 deletions

View File

@ -1125,23 +1125,6 @@ sub openiduser ($) {
return;
}
sub userlink ($) {
my $user=shift;
my $oiduser=eval { openiduser($user) };
if (defined $oiduser) {
return "<a href=\"$user\">$oiduser</a>";
}
else {
eval q{use CGI 'escapeHTML'};
error($@) if $@;
return htmllink("", "", escapeHTML(
length $config{userdir} ? $config{userdir}."/".$user : $user
), noimageinline => 1);
}
}
sub htmlize ($$$$) {
my $page=shift;
my $destpage=shift;