Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for rename of recentchanges.mdwn to json.tl.ph.mdwn
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
amazon_s3.pm
diff --git
a/IkiWiki/Plugin/amazon_s3.pm
b/IkiWiki/Plugin/amazon_s3.pm
index f2f4dbcf20f88572469ecaafbe2dd1e43ba974b1..a9da6bf12b69dc62f2ee05f22aaaef2c88fe7dde 100644
(file)
--- a/
IkiWiki/Plugin/amazon_s3.pm
+++ b/
IkiWiki/Plugin/amazon_s3.pm
@@
-45,7
+45,6
@@
sub getsetup () {
plugin => {
safe => 0,
rebuild => 0,
plugin => {
safe => 0,
rebuild => 0,
- section => "special-purpose",
},
amazon_s3_key_id => {
type => "string",
},
amazon_s3_key_id => {
type => "string",
@@
-233,8
+232,9
@@
sub writefile ($$$;$$) {
}
# This is a wrapper around the real prune.
}
# This is a wrapper around the real prune.
-sub prune ($) {
+sub prune ($
;$
) {
my $file=shift;
my $file=shift;
+ my $up_to=shift;
my @keys=IkiWiki::Plugin::amazon_s3::file2keys($file);
my @keys=IkiWiki::Plugin::amazon_s3::file2keys($file);
@@
-251,7
+251,7
@@
sub prune ($) {
}
}
}
}
- return $IkiWiki::Plugin::amazon_s3::subs{'IkiWiki::prune'}->($file);
+ return $IkiWiki::Plugin::amazon_s3::subs{'IkiWiki::prune'}->($file
, $up_to
);
}
1
}
1