]> sipb.mit.edu Git - ikiwiki.git/commitdiff
don't explicitly use inline
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:10:17 +0000 (15:10 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:10:17 +0000 (15:10 -0500)
loadplugin("inline") should take care of that

IkiWiki/Plugin/comments.pm

index f612f89475dd6450c8128b3a974c6c60bddc1936..4999c3f249480d0103781431fe8b629e9d3fa4e3 100644 (file)
@@ -555,9 +555,6 @@ sub pagetemplate (@) { #{{{
                }
 
                if ($shown) {
                }
 
                if ($shown) {
-                       eval q{use IkiWiki::Plugin::inline};
-                       error($@) if $@;
-
                        $comments = IkiWiki::preprocess_inline(
                                pages => "internal($page/${comments_pagename}*)",
                                template => 'comments_display',
                        $comments = IkiWiki::preprocess_inline(
                                pages => "internal($page/${comments_pagename}*)",
                                template => 'comments_display',