Index: trunk/extensions/OpenID/OpenID.hooks.php |
— | — | @@ -183,7 +183,9 @@ |
184 | 184 | $wgUpdates['mysql'][] = array( array( __CLASS__, 'makeUoiUserNotUnique' ) ); |
185 | 185 | } else if ( $wgDBtype == 'postgres' ) { |
186 | 186 | $wgExtNewTables[] = array( 'user_openid', "$base/openid_table.pg.sql" ); |
187 | | - $wgUpdates['postgres'][] = array( array( __CLASS__, 'makeUoiUserNotUnique' ) ); |
| 187 | + # This doesn't work since MediaWiki doesn't use $wgUpdates when |
| 188 | + # updating a PostgreSQL database |
| 189 | + #$wgUpdates['postgres'][] = array( array( __CLASS__, 'makeUoiUserNotUnique' ) ); |
188 | 190 | } |
189 | 191 | |
190 | 192 | return true; |
— | — | @@ -200,7 +202,7 @@ |
201 | 203 | $db->sourceFile( dirname( __FILE__ ) . '/patch-uoi_user-not-unique.sql' ); |
202 | 204 | wfOut( " done.\n" ); |
203 | 205 | } else { |
204 | | - wfOut( "...uoi_user field is already not unique\n" ); |
| 206 | + wfOut( "...uoi_user field is already not unique.\n" ); |
205 | 207 | } |
206 | 208 | } |
207 | 209 | |