Index: trunk/extensions/ConfirmAccount/ConfirmAccount.php |
— | — | @@ -274,7 +274,7 @@ |
275 | 275 | } |
276 | 276 | } else { |
277 | 277 | if ( $updater->getDB()->getType() == 'mysql' ) { |
278 | | - $updater->addExtensionUpdate( array( 'addTable', 'account_requests', "$base/ConfirmAccount.sql", true ) ); |
| 278 | + $updater->addNewExtension( 'ConfirmAccount', "$base/ConfirmAccount.sql" ); |
279 | 279 | |
280 | 280 | $updater->addExtensionUpdate( array( 'addField', 'account_requests', 'acr_filename', |
281 | 281 | "$base/archives/patch-acr_filename.sql", true ) ); |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | |
287 | 287 | $updater->addExtensionUpdate( array( 'addIndex', 'account_requests', 'acr_email', "$base/archives/patch-email-index.sql", true ) ); |
288 | 288 | } else if ( $updater->getDB()->getType() == 'postgres' ) { |
289 | | - $updater->addExtensionUpdate( array( 'addTable', 'account_requests', "$base/ConfirmAccount.pg.sql", true ) ); |
| 289 | + $updater->addNewExtension( 'ConfirmAccount', "$base/ConfirmAccount.pg.sql" ); |
290 | 290 | |
291 | 291 | $updater->addExtensionUpdate( array( 'addPgField', 'account_requests', 'acr_held', "TIMESTAMPTZ" ) ); |
292 | 292 | $updater->addExtensionUpdate( array( 'addPgField', 'account_requests', 'acr_filename', "TEXT" ) ); |