]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/edittemplate.pm
refactor check_canchange into IkiWiki library
[ikiwiki.git] / IkiWiki / Plugin / edittemplate.pm
index 4f07866e443c61ff73e778620e691d85c81f2084..576c94be4fdcb6736501ef0d139935883a1149d7 100644 (file)
@@ -132,9 +132,6 @@ sub filltemplate ($$) {
                # up a template that doesn't work.
                return "[[!pagetemplate ".gettext("failed to process template:")." $@]]";
        }
-       if (! defined $template) {
-               return;
-       }
 
        $template->param(name => $page);