Index: trunk/extensions/CentralAuth/CentralAuth.php |
— | — | @@ -264,7 +264,9 @@ |
265 | 265 | ) + $commonModuleInfo; |
266 | 266 | |
267 | 267 | // If AntiSpoof is installed, we can do some AntiSpoof stuff for CA |
268 | | -if ( class_exists( 'AntiSpoof' ) ) { |
| 268 | +// Though, doing it this way, AntiSpoof has to be loaded/included first |
| 269 | +// I guess this is bug 30234 |
| 270 | +if ( MWInit::classExists( 'AntiSpoof' ) ) { |
269 | 271 | $wgAutoloadClasses['CentralAuthSpoofUser'] = "$caBase/AntiSpoof/CentralAuthSpoofUser.php"; |
270 | 272 | $wgAutoloadClasses['CentralAuthAntiSpoofHooks'] = "$caBase/AntiSpoof/CentralAuthAntiSpoofHooks.php"; |
271 | 273 | |