remove userlink()
That was dead code; changes to lockedit and recentchanges removed the last callers.master
parent
68f7be91e5
commit
cfcb3d1880
17
IkiWiki.pm
17
IkiWiki.pm
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue