summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/attachment.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-27 15:31:48 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-27 15:31:48 -0400
commitb9efeba972c82da706756eee51a0682018663586 (patch)
treefbbf56d60f2e7793b26892e59d0315befd7f56e4 /IkiWiki/Plugin/attachment.pm
parent8709ec24825f29359c8f77d363c4126bf9c0742b (diff)
humansize moved to filecheck
It's not used there, but it makes sense to keep it there as it's the inverse of parsesize.
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index f1f792a5a..999fa4a86 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -277,7 +277,7 @@ sub attachment_list ($) { #{{{
push @ret, {
"field-select" => '<input type="checkbox" name="attachment_select" value="'.$f.'" />',
link => htmllink($page, $page, $f, noimageinline => 1),
- size => humansize((stat(_))[7]),
+ size => IkiWiki::Plugin::filecheck::humansize((stat(_))[7]),
mtime => displaytime($IkiWiki::pagemtime{$f}),
mtime_raw => $IkiWiki::pagemtime{$f},
};