Index: trunk/extensions/SlippyMap/SlippyMap.hook.php |
— | — | @@ -28,9 +28,6 @@ |
29 | 29 | global $wgParser, $wgHooks, $wgOut, $wgScriptPath, $wgStyleVersion; |
30 | 30 | global $wgSlippyMapJs; |
31 | 31 | |
32 | | - // Load i18n |
33 | | - self::loadMessages(); |
34 | | - |
35 | 32 | // Initialize unique map id |
36 | 33 | $this->mId = 0; |
37 | 34 | |
— | — | @@ -120,10 +117,4 @@ |
121 | 118 | |
122 | 119 | return true; |
123 | 120 | } |
124 | | - |
125 | | - private static function loadMessages() { |
126 | | - wfProfileIn( __METHOD__ ); |
127 | | - wfLoadExtensionMessages( 'SlippyMap' ); |
128 | | - wfProfileOut( __METHOD__ ); |
129 | | - } |
130 | 121 | } |