]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
ref new tip from softwaresite page
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index 2b8cf0414aa9198624c2f91e238a6fbf3c446d44..f59d0269e4cc747da68db81b56afd82cdc304cee 100644 (file)
@@ -18,6 +18,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => 0,
+                       section => "web",
                },
 }
 
@@ -51,7 +52,7 @@ sub check_canremove ($$$) {
                        IkiWiki::Plugin::attachment::check_canattach($session, $page, $file);
                }
                else {
-                       error("renaming of attachments is not allowed");
+                       error("removal of attachments is not allowed");
                }
        }