r87931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87930‎ | r87931 | r87932 >
Date:20:10, 12 May 2011
Author:ashley
Status:deferred
Tags:
Comment:
PrivateDomains: iAlex says that this can be safely removed
Modified paths:
  • /trunk/extensions/PrivateDomains/SpecialPrivateDomains.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PrivateDomains/SpecialPrivateDomains.php
@@ -29,11 +29,7 @@
3030 $nameTitle = Title::newFromText( $name, NS_MEDIAWIKI );
3131 $article = new Article( $nameTitle );
3232
33 - if ( $nameTitle->exists() ) {
34 - $article->quickEdit( $value );
35 - } else {
36 - $article->doEdit( $value, '' );
37 - }
 33+ $article->doEdit( $value, '' );
3834 }
3935
4036 /**

Status & tagging log