Index: trunk/extensions/CentralAuth/AntiSpoof/batchCAAntiSpoof.php |
— | — | @@ -22,6 +22,28 @@ |
23 | 23 | protected function getDB() { |
24 | 24 | return CentralAuthUser::getCentralDB(); |
25 | 25 | } |
| 26 | + |
| 27 | + /** |
| 28 | + * @return string |
| 29 | + */ |
| 30 | + protected function getTableName() { |
| 31 | + return 'globaluser'; |
| 32 | + } |
| 33 | + |
| 34 | + /** |
| 35 | + * @return string |
| 36 | + */ |
| 37 | + protected function getUserColumn() { |
| 38 | + return 'gu_name'; |
| 39 | + } |
| 40 | + |
| 41 | + /** |
| 42 | + * @param $name string |
| 43 | + * @return CentralAuthSpoofUser |
| 44 | + */ |
| 45 | + protected function makeSpoofUser( $name ) { |
| 46 | + return new CentralAuthSpoofUser( $name ); |
| 47 | + } |
26 | 48 | } |
27 | 49 | |
28 | 50 | $maintClass = "BatchCAAntiSpoof"; |