]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/discussion_removal.mdwn
comments: Add support for removing comments via web interface. (smcv)
[git.ikiwiki.info.git] / doc / bugs / discussion_removal.mdwn
index 9e08361a3ecb7eeadf5986f5c44fa441e598e9cb..6da35f37ba80e6937ed004bfb0b2143cf40fdb5f 100644 (file)
@@ -13,21 +13,4 @@ Here's a patch that trawls through %destsources deleting pages when they
 are found to be deleted. It's a little inelegant, but it's simple and it 
 works. --Ethan
 
-<pre>
-diff -urX ignorepats ikiwiki/IkiWiki/Render.pm ikidev/IkiWiki/Render.pm
---- ikiwiki/IkiWiki/Render.pm  2007-07-25 15:58:24.501068000 -0700
-+++ ikidev/IkiWiki/Render.pm   2007-07-25 20:08:32.966449000 -0700
-@@ -320,6 +320,11 @@
-                       prune($config{destdir}."/".$_)
-                               foreach @{$oldrenderedfiles{$page}};
-                       delete $pagesources{$page};
-+                      foreach (keys %destsources){
-+                              if ($destsources{$_} == $page) {
-+                                      delete $destsources{$_};
-+                              }
-+                      }
-               }
-       }
-</pre>
-
+Thankyou for the [[patch]]! [[Done]]. --[[Joey]]