diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-04 15:17:21 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-04 15:17:21 -0500 |
commit | cfcb3d18808a753a90b042462d1dd71fcb7c82b5 (patch) | |
tree | 4b5c4634d6e118cc15ebee8fbbd3308d3fab33e8 | |
parent | 68f7be91e59b304f4deb4ce84506a2bdd63917db (diff) | |
download | ikiwiki-cfcb3d18808a753a90b042462d1dd71fcb7c82b5.tar ikiwiki-cfcb3d18808a753a90b042462d1dd71fcb7c82b5.tar.gz |
remove userlink()
That was dead code; changes to lockedit and recentchanges removed the last
callers.
-rw-r--r-- | IkiWiki.pm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index b8e599928..6226824df 100644 --- a/IkiWiki.pm +++ b/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; |