Index: trunk/extensions/AntiSpoof/AntiSpoofHooks.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | } |
54 | 54 | |
55 | 55 | $name = $user->getName(); |
56 | | - $spoof = self::makeSpoofUser( $name ); |
| 56 | + $spoof = static::makeSpoofUser( $name ); |
57 | 57 | if ( $spoof->isLegal() ) { |
58 | 58 | $normalized = $spoof->getNormalized(); |
59 | 59 | $conflicts = $spoof->getConflicts(); |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | * @return bool |
110 | 110 | */ |
111 | 111 | public static function asAddNewAccountHook( $user ) { |
112 | | - $spoof = self::makeSpoofUser( $user->getName() ); |
| 112 | + $spoof = static::makeSpoofUser( $user->getName() ); |
113 | 113 | $spoof->record(); |
114 | 114 | return true; |
115 | 115 | } |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | * @return bool |
125 | 125 | */ |
126 | 126 | public static function asAddRenameUserHook( $uid, $oldName, $newName ) { |
127 | | - $spoof = self::makeSpoofUser( $newName ); |
| 127 | + $spoof = static::makeSpoofUser( $newName ); |
128 | 128 | $spoof->update( $oldName ); |
129 | 129 | return true; |
130 | 130 | } |