Index: trunk/extensions/FixedImage/FixedImage.php |
— | — | @@ -43,10 +43,7 @@ |
44 | 44 | ); |
45 | 45 | $wgExtensionMessagesFiles['FixedImage'] = dirname(__FILE__) . '/FixedImage.i18n.php'; |
46 | 46 | |
47 | | - $wgHooks['ParserFirstCallInit'][] = 'fixedImageSetup'; |
48 | | -} else { |
49 | | - $wgExtensionFunctions[] = 'fixedImageSetup'; |
50 | | -} |
| 47 | +$wgHooks['ParserFirstCallInit'][] = 'fixedImageSetup'; |
51 | 48 | |
52 | 49 | function fixedImageSetup( &$parser ) { |
53 | 50 | global $wgFixedImageHooks; |