OSDN Git Service

BugTrack/327:新旧ページのlinkデータベースを更新する
authorarino <arino>
Wed, 7 May 2003 04:21:52 +0000 (13:21 +0900)
committerarino <arino>
Wed, 7 May 2003 04:21:52 +0000 (13:21 +0900)
plugin/rename.inc.php

index 4a8d7e3..0589393 100644 (file)
@@ -2,7 +2,7 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: rename.inc.php,v 1.4 2003/03/15 04:25:53 panda Exp $
+// $Id: rename.inc.php,v 1.5 2003/05/07 04:21:52 arino Exp $
 //
 
 /*
@@ -441,6 +441,10 @@ function rename_proceed($pages,$files,$exists)
                                unlink($new); 
                        }
                        rename($old,$new);
+                       
+                       // link¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¹¹¿·¤¹¤ë BugTrack/327 arino
+                       links_update($old);
+                       links_update($new);
                }
        }