Index: trunk/extensions/OpenID/OpenID.hooks.php |
— | — | @@ -359,13 +359,13 @@ |
360 | 360 | if ( !$info->isMultipleKey() ) { |
361 | 361 | $updater->addExtensionUpdate( array( 'dropIndex', 'user_openid', 'uoi_user', |
362 | 362 | dirname( __FILE__ ) . '/patches/patch-drop_non_multiple_key_index_uoi_user.sql', true ) ); |
363 | | - $updater->addExtensionUpdate( array( 'addIndex', 'user_openid', 'user_openid_user', |
364 | | - dirname( __FILE__ ) . '/patches/patch-add_multiple_key_index_user_openid_user.sql', true ) ); |
| 363 | + $updater->addExtensionIndex( 'user_openid', 'user_openid_user', |
| 364 | + dirname( __FILE__ ) . '/patches/patch-add_multiple_key_index_user_openid_user.sql' ); |
365 | 365 | } |
366 | 366 | |
367 | 367 | # uoi_user_registration field was added in OpenID version 0.937 |
368 | | - $updater->addExtensionUpdate( array( 'addField', 'user_openid', 'uoi_user_registration', |
369 | | - dirname( __FILE__ ) . '/patches/patch-add_uoi_user_registration.sql', true ) ); |
| 368 | + $updater->addExtensionField( 'user_openid', 'uoi_user_registration', |
| 369 | + dirname( __FILE__ ) . '/patches/patch-add_uoi_user_registration.sql' ); |
370 | 370 | } |
371 | 371 | return true; |
372 | 372 | } |