r81026 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81025‎ | r81026 | r81027 >
Date:15:14, 26 January 2011
Author:ialex
Status:ok
Tags:
Comment:
Per MarkAHershberger's comment on r60241: isMultipleKey() only exists in MySQL
Modified paths:
  • /trunk/extensions/OpenID/OpenID.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/OpenID.hooks.php
@@ -295,7 +295,9 @@
296296 $dbPatch = "$base/" . ( $updater->getDB()->getType() == 'postgres' ?
297297 'openid_table.pg.sql' : 'openid_table.sql' );
298298 $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+ }
300302 }
301303
302304 return true;

Follow-up revisions

RevisionCommit summaryAuthorDate
r813941.17: MFT r81026, r81116, r81155, r81201, r81204, r81205, r81220, r81235, r81...catrope15:33, 2 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60241* (bug 19348) patch-uoi_user-not-unique.sql is now automatically applied in m...ialex16:07, 20 December 2009

Status & tagging log