dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34912bf
)
Forgot to add the new link tables to Article::doDeleteArticle()
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 28 Jan 2006 00:35:34 +0000
(
00:35
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 28 Jan 2006 00:35:34 +0000
(
00:35
+0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
582183f
..
54f3777
100644
(file)
--- 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' );