]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix some messages
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 1 Jul 2008 03:32:08 +0000 (23:32 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 1 Jul 2008 03:32:08 +0000 (23:32 -0400)
IkiWiki/Plugin/attachment.pm

index 186f3ea21991439aa97dc8f6478e97b54e6b614d..6168ea589073f9c9b4272d96ba4187ec458b8f3f 100644 (file)
@@ -102,7 +102,7 @@ sub match_maxsize ($$;@) { #{{{
 
        my %params=@_;
        if (! exists $params{file}) {
-               return IkiWiki::FailReason->new("no tempfile specified");
+               return IkiWiki::FailReason->new("no file specified");
        }
 
        if (-s $params{file} > $maxsize) {
@@ -122,7 +122,7 @@ sub match_minsize ($$;@) { #{{{
 
        my %params=@_;
        if (! exists $params{file}) {
-               return IkiWiki::FailReason->new("no tempfile specified");
+               return IkiWiki::FailReason->new("no file specified");
        }
 
        if (-s $params{file} < $minsize) {