http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71990
Revision: 71990
Author: platonides
Date: 2010-08-30 22:17:53 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
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: trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php
===================================================================
--- trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php
2010-08-30 22:17:27 UTC (rev 71989)
+++ trunk/extensions/UsabilityInitiative/PrefSwitch/PrefSwitch.hooks.php
2010-08-30 22:17:53 UTC (rev 71990)
@@ -11,12 +11,12 @@
/* Static Functions */
public static function schema() {
- global $wgExtNewTables, $wgExtModifiedFields;
+ global $wgExtNewTables, $wgExtNewFields;
$dir = dirname( __FILE__ );
$wgExtNewTables[] = array( 'prefswitch_survey', $dir .
'/PrefSwitch.sql' );
- $wgExtModifiedFields[] = array( '', '', $dir .
'/PrefSwitch-addusertext.sql' );
+ $wgExtNewFields[] = array( 'prefswitch_survey',
'pss_user_text', $dir . '/PrefSwitch-addusertext.sql' );
return true;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs