]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
Revert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."
[ikiwiki.git] / IkiWiki.pm
index ba1847093fce3d5a64aa1ae6508a5726cc6ee5c3..8b3a911143934b0fe6acf674edf6b18e2bbc84d1 100644 (file)
@@ -942,10 +942,6 @@ sub beautify_urlpath ($) { #{{{
                $url =~ s!/index.$config{htmlext}$!/!;
        }
 
-       run_hooks(tweakurlpath => sub {
-               $url=shift->(url => $url);
-       });
-
        # Ensure url is not an empty link, and
        # if it's relative, make that explicit to avoid colon confusion.
        if ($url !~ /^\//) {