Index: trunk/extensions/SemanticMaps/includes/forminputs/SM_FormInput.php |
— | — | @@ -111,7 +111,7 @@ |
112 | 112 | $fatalError = $validator->hasFatalError(); |
113 | 113 | |
114 | 114 | if ( $fatalError === false ) { |
115 | | - global $wgParser, $wgTitle; |
| 115 | + global $wgParser; |
116 | 116 | |
117 | 117 | $params = $validator->getParameterValues(); |
118 | 118 | $mapName = $this->service->getMapId(); |
Index: trunk/extensions/SemanticMaps/includes/forminputs/SM_FormInputs.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | final class SMFormInputs { |
38 | 38 | |
39 | 39 | public static function initialize() { |
40 | | - global $smgDir, $wgAutoloadClasses, $sfgFormPrinter; |
| 40 | + global $wgAutoloadClasses; |
41 | 41 | |
42 | 42 | // This code should not get called when SF is not loaded, but let's have this |
43 | 43 | // check to not run into problems when people mess up the settings. |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | * @param strig $mainName |
82 | 82 | */ |
83 | 83 | private static function initFormHook( $inputName, $mainName = '' ) { |
84 | | - global $wgAutoloadClasses, $sfgFormPrinter, $smgDir; |
| 84 | + global $sfgFormPrinter; |
85 | 85 | |
86 | 86 | // Add the form input hook for the service. |
87 | 87 | $field_args = array(); |
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | * Initialization function for Maps query printer functionality. |
23 | 23 | */ |
24 | 24 | public static function initialize() { |
25 | | - global $smgDir, $wgAutoloadClasses; |
| 25 | + global $wgAutoloadClasses; |
26 | 26 | |
27 | 27 | $wgAutoloadClasses['SMQueryHandler'] = dirname( __FILE__ ) . '/SM_QueryHandler.php'; |
28 | 28 | $wgAutoloadClasses['SMMapper'] = dirname( __FILE__ ) . '/SM_Mapper.php'; |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | * @param array $aliases |
67 | 67 | */ |
68 | 68 | private static function initFormat( $format, $formatClass, array $aliases = array() ) { |
69 | | - global $wgAutoloadClasses, $smgDir, $smwgResultAliases; |
| 69 | + global $smwgResultAliases; |
70 | 70 | |
71 | 71 | // Add the QP to SMW. |
72 | 72 | self::addFormatQP( $format, $formatClass ); |