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