no need to use CORE::rename since I renamed the rename function

master
Joey Hess 2009-03-27 15:28:35 -04:00
parent d622da057b
commit 0b2791ccc7
2 changed files with 3 additions and 1 deletions

View File

@ -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: $!");
}

2
debian/changelog vendored
View File

@ -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