]> sipb.mit.edu Git - ikiwiki.git/commitdiff
no need to use CORE::rename since I renamed the rename function
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 27 Mar 2009 19:28:35 +0000 (15:28 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 27 Mar 2009 19:28:35 +0000 (15:28 -0400)
IkiWiki/Plugin/rename.pm
debian/changelog

index bf5a2824023b27a0fb0f3bf78636ef53f2a761fe..8dad92be3e8794c2ef09ed4a518f814fb49be2a5 100644 (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: $!");
                }
index 158db9a4d89f81163d80df37625908fee9b35ff6..82de0b5e5ab1c01c3fccf237567fbd513178438b 100644 (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