Index: trunk/extensions/OpenID/OpenID.hooks.php |
— | — | @@ -295,7 +295,9 @@ |
296 | 296 | $dbPatch = "$base/" . ( $updater->getDB()->getType() == 'postgres' ? |
297 | 297 | 'openid_table.pg.sql' : 'openid_table.sql' ); |
298 | 298 | $updater->addExtensionUpdate( array( 'addTable', 'user_openid', $dbPatch, true ) ); |
299 | | - $updater->addExtensionUpdate( array( array( __CLASS__, 'makeUoiUserNotUnique' ) ) ); |
| 299 | + if ( $updater->getDB()->getType() == 'mysql' ) { |
| 300 | + $updater->addExtensionUpdate( array( array( __CLASS__, 'makeUoiUserNotUnique' ) ) ); |
| 301 | + } |
300 | 302 | } |
301 | 303 | |
302 | 304 | return true; |