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:
969f3bf
)
Move the call to view() for Action::purge() up from doPurge() to purge(). Kinda like...
author
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 19 Aug 2008 19:10:07 +0000
(19:10 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 19 Aug 2008 19:10:07 +0000
(19:10 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
7e2b6b7
..
5118176
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1044,6
+1044,7
@@
class Article {
if ( $wgUser->isAllowed( 'purge' ) || $wgRequest->wasPosted() ) {
if( wfRunHooks( 'ArticlePurge', array( &$this ) ) ) {
$this->doPurge();
+ $this->view();
}
} else {
$msg = $wgOut->parse( wfMsg( 'confirm_purge' ) );
@@
-1086,7
+1087,6
@@
class Article {
}
$wgMessageCache->replace( $this->mTitle->getDBkey(), $text );
}
- $this->view();
}
/**