From 9356ead84db332fbccc5c2b4a4aab340fc341825 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Tue, 3 Feb 2004 01:53:27 +0000 Subject: [PATCH] reverted my edit, purging should be already done in updateArticle --- includes/Article.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 883bcaa0c5..3f57d9efbd 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -941,7 +941,6 @@ class Article { function rollback() { global $wgUser, $wgLang, $wgOut, $from; - global $wgUseSquid, $wgInternalServer; if ( ! $wgUser->isSysop() ) { $wgOut->sysopRequired(); @@ -1016,14 +1015,6 @@ class Article { $wgOut->addHTML( "

" . $newcomment . "

\n
\n" ); $this->updateArticle( Article::getRevisionText( $s ), $newcomment, 1, $this->mTitle->userIsWatching(), "", $bot ); - # Squid purging - if ( $wgUseSquid ) { - $urlArr = Array( - $wgInternalServer.wfLocalUrl( $this->mTitle->getPrefixedURL()) - ); - wfPurgeSquidServers($urlArr); - } - Article::onArticleEdit( $this->mTitle ); $wgOut->returnToMain( false ); } -- 2.20.1