aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-27 15:28:35 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-27 15:28:35 -0400
commit0b2791ccc7c56783aceb63fe3bbb1dbf048bedb1 (patch)
tree3b94337b9d887b09057789e3399f34f394ab79e7
parentd622da057be3fcd3c55ebf8f3651966f7dec668b (diff)
downloadikiwiki-0b2791ccc7c56783aceb63fe3bbb1dbf048bedb1.tar
ikiwiki-0b2791ccc7c56783aceb63fe3bbb1dbf048bedb1.tar.gz
no need to use CORE::rename since I renamed the rename function
-rw-r--r--IkiWiki/Plugin/rename.pm2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index bf5a28240..8dad92be3 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -533,7 +533,7 @@ sub do_rename ($$$) {
IkiWiki::rcs_rename($rename->{srcfile}, $rename->{destfile});
}
else {
- if (! CORE::rename($config{srcdir}."/".$rename->{srcfile},
+ if (! rename($config{srcdir}."/".$rename->{srcfile},
$config{srcdir}."/".$rename->{destfile})) {
error("rename: $!");
}
diff --git a/debian/changelog b/debian/changelog
index 158db9a4d..82de0b5e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ ikiwiki (3.09) UNRELEASED; urgency=low
* comments: Fix too loose test for comments pages that matched
normal pages with "comment_" in their name. Closes: #521322
* comments: Fix anchor ids to be legal xhtml. Closes: #521339
+ * Add new hooks: canremove, canrename, rename. (intrigeri)
+ * rename: Refactor subpage rename handling code into rename hook. (intrigeri)
-- Joey Hess <joeyh@debian.org> Thu, 19 Mar 2009 15:32:49 -0400