r88203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88202‎ | r88203 | r88204 >
Date:21:01, 15 May 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r85128
Modified paths:
  • /branches/wmf/1.17wmf1/includes/DefaultSettings.php (modified) (history)
  • /branches/wmf/1.17wmf1/includes/User.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/User.php
@@ -3635,8 +3635,8 @@
36363636 * Used by things like CentralAuth and perhaps other authplugins.
36373637 */
36383638 public function addNewUserLogEntryAutoCreate() {
3639 - global $wgNewUserLog, $wgLogAutocreatedAccounts;
3640 - if( !$wgNewUserLog || !$wgLogAutocreatedAccounts ) {
 3639+ global $wgNewUserLog;
 3640+ if( !$wgNewUserLog ) {
36413641 return true; // disabled
36423642 }
36433643 $log = new LogPage( 'newusers', false );
Property changes on: branches/wmf/1.17wmf1/includes/User.php
___________________________________________________________________
Modified: svn:mergeinfo
36443644 Merged /trunk/phase3/includes/User.php:r85128
Index: branches/wmf/1.17wmf1/includes/DefaultSettings.php
@@ -4815,11 +4815,6 @@
48164816 */
48174817 $wgNewUserLog = true;
48184818
4819 -/**
4820 - * Log the automatic creations of new users accounts?
4821 - */
4822 -$wgLogAutocreatedAccounts = false;
4823 -
48244819 /** @} */ # end logging }
48254820
48264821 /*************************************************************************//**
Property changes on: branches/wmf/1.17wmf1/includes/DefaultSettings.php
___________________________________________________________________
Modified: svn:mergeinfo
48274822 Merged /trunk/phase3/includes/DefaultSettings.php:r85128

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85128Revert r64853 (add $wgLogAutocreatedAccounts to enable/disable account autocr...demon15:57, 1 April 2011

Status & tagging log