From: Tim Starling Date: Sat, 28 Jan 2006 00:35:34 +0000 (+0000) Subject: Forgot to add the new link tables to Article::doDeleteArticle() X-Git-Tag: 1.6.0~410 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=cf7ecb630d9d6edb5f9deda24ca9241a13646b6c;p=lhc%2Fweb%2Fwiklou.git Forgot to add the new link tables to Article::doDeleteArticle() --- diff --git a/includes/Article.php b/includes/Article.php index 582183f444..54f37777d4 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2003,6 +2003,8 @@ class Article { $dbw->delete( 'pagelinks', array( 'pl_from' => $id ) ); $dbw->delete( 'imagelinks', array( 'il_from' => $id ) ); $dbw->delete( 'categorylinks', array( 'cl_from' => $id ) ); + $dbw->delete( 'templatelinks', array( 'tl_from' => $id ) ); + $dbw->delete( 'externallinks', array( 'el_from' => $id ) ); # Log the deletion $log = new LogPage( 'delete' );