Index: trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php |
— | — | @@ -11,12 +11,12 @@ |
12 | 12 | /* Static Functions */ |
13 | 13 | |
14 | 14 | public static function schema() { |
15 | | - global $wgExtNewTables, $wgExtModifiedFields; |
| 15 | + global $wgExtNewTables, $wgExtNewFields; |
16 | 16 | |
17 | 17 | $dir = dirname( __FILE__ ); |
18 | 18 | |
19 | 19 | $wgExtNewTables[] = array( 'prefswitch_survey', $dir . '/PrefSwitch.sql' ); |
20 | | - $wgExtModifiedFields[] = array( '', '', $dir . '/PrefSwitch-addusertext.sql' ); |
| 20 | + $wgExtNewFields[] = array( 'prefswitch_survey', 'pss_user_text', $dir . '/PrefSwitch-addusertext.sql' ); |
21 | 21 | return true; |
22 | 22 | } |
23 | 23 | |