Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php |
— | — | @@ -10,10 +10,8 @@ |
11 | 11 | |
12 | 12 | class SFFormUtils { |
13 | 13 | static function setGlobalJSVariables( &$vars ) { |
14 | | - global $sfgAdderButtons; |
15 | | - global $sfgAutocompleteDataTypes, $sfgAutocompleteValues; |
16 | | - global $sfgAutocompleteOnAllChars; |
17 | | - global $sfgShowOnSelect; |
| 14 | + global $sfgAdderButtons, $sfgShowOnSelect; |
| 15 | + global $sfgAutocompleteValues, $sfgAutocompleteOnAllChars; |
18 | 16 | |
19 | 17 | $vars['sfgRemoveText'] = wfMsg( 'sf_formedit_remove' ); |
20 | 18 | $vars['sfgAdderButtons'] = $sfgAdderButtons; |
— | — | @@ -21,7 +19,6 @@ |
22 | 20 | // variables that are associative arrays need to be cast as |
23 | 21 | // objects, to work with MW 1.15 and earlier |
24 | 22 | $vars['sfgAutocompleteValues'] = (object)$sfgAutocompleteValues; |
25 | | - $vars['sfgAutocompleteDataTypes'] = (object)$sfgAutocompleteDataTypes; |
26 | 23 | $vars['sfgShowOnSelect'] = (object)$sfgShowOnSelect; |
27 | 24 | $vars['sfgFormErrorsHeader'] = wfMsg( 'sf_formerrors_header' ); |
28 | 25 | $vars['sfgBlankErrorStr'] = wfMsg( 'sf_blank_error' ); |
Index: trunk/extensions/SemanticForms/includes/SF_Settings.php |
— | — | @@ -117,5 +117,4 @@ |
118 | 118 | # ## |
119 | 119 | $sfgAdderButtons = array(); |
120 | 120 | $sfgShowOnSelect = array(); |
121 | | -$sfgAutocompleteDataTypes = array(); |
122 | 121 | $sfgAutocompleteValues = array(); |