r71990 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71989‎ | r71990 | r71991 >
Date:22:17, 30 August 2010
Author:platonides
Status:ok
Tags:
Comment:
It's old update format, but even then, it should be the right global and have the proper parameters set.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php
@@ -11,12 +11,12 @@
1212 /* Static Functions */
1313
1414 public static function schema() {
15 - global $wgExtNewTables, $wgExtModifiedFields;
 15+ global $wgExtNewTables, $wgExtNewFields;
1616
1717 $dir = dirname( __FILE__ );
1818
1919 $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' );
2121 return true;
2222 }
2323

Status & tagging log