Index: trunk/extensions/JS2Support/mwEmbed/includes/NamedResourceLoader.php |
— | — | @@ -302,7 +302,7 @@ |
303 | 303 | * Return the module name for a given resource or false if not found |
304 | 304 | * @param $resourceName resource to get the module for |
305 | 305 | */ |
306 | | - public function getModuleNameForResource( $resourceName ){ |
| 306 | + public static function getModuleNameForResource( $resourceName ){ |
307 | 307 | if( isset( self::$resourceParentModuleName [ $resourceName ] ) ){ |
308 | 308 | return self::$resourceParentModuleName [ $resourceName ]; |
309 | 309 | } else { |