r98977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98976‎ | r98977 | r98978 >
Date:02:44, 5 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Reverted stuff committed in r98976 by mistake
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/CentralAuth/CentralAuthUser.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/CentralAuth/CentralAuthUser.php
@@ -1109,13 +1109,7 @@
11101110 /* $allowUsertalk */ false,
11111111 /* $byName */ $by
11121112 );
1113 - // Live hack for $by not being used anymore, --aaron
1114 - $foreignUser = User::newFromName( $by, false );
1115 - $foreignUser->setId( 0 );
1116 - $foreignUser->setItemLoaded( 'id' ); // hack around Block::getDatabaseArray()
1117 - $block->setBlocker( $foreignUser );
1118 - // end hack
1119 -
 1113+
11201114 # On normal block, BlockIp hook would be run here, but doing
11211115 # that from CentralAuth doesn't seem a good idea...
11221116

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98976MFT r98975aaron02:38, 5 October 2011

Status & tagging log