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:
5e5a592
)
Clearing linkscc for article on rollback
author
Mr. E23
<e23@users.mediawiki.org>
Fri, 28 Nov 2003 08:28:08 +0000
(08:28 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Fri, 28 Nov 2003 08:28:08 +0000
(08:28 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
46dc201
..
bf9344e
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1009,6
+1009,11
@@
class Article {
$wgOut->addHTML( "<h2>" . $newcomment . "</h2>\n<hr>\n" );
$this->updateArticle( $s->old_text, $newcomment, 1, $this->mTitle->userIsWatching() );
+ global $wgEnablePersistentLC;
+ if ( $wgEnablePersistentLC ) {
+ wfQuery("DELETE FROM linkscc WHERE lcc_pageid='{$pid}'", DB_WRITE);
+ }
+
$wgOut->returnToMain( false );
}