Index: branches/wmf/1.18wmf1/extensions/CentralAuth/CentralAuthUser.php |
— | — | @@ -1109,13 +1109,7 @@ |
1110 | 1110 | /* $allowUsertalk */ false, |
1111 | 1111 | /* $byName */ $by |
1112 | 1112 | ); |
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 | + |
1120 | 1114 | # On normal block, BlockIp hook would be run here, but doing |
1121 | 1115 | # that from CentralAuth doesn't seem a good idea... |
1122 | 1116 | |