Index: trunk/extensions/SocialProfile/SocialProfile.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | $wgExtNewTables[] = array( 'user_gift', "$dir/UserGifts/usergifts.sql" ); |
217 | 217 | $wgExtNewTables[] = array( 'gift', "$dir/UserGifts/usergifts.sql" ); |
218 | 218 | $wgExtNewTables[] = array( 'user_system_messages', "$dir/UserSystemMessages/user_system_messages.sql" ); |
219 | | - } elseif( $wgDBtype == 'postgresql' ) { |
| 219 | + } elseif( $wgDBtype == 'postgres' ) { |
220 | 220 | $wgExtNewTables[] = array( 'user_board', "$dir/UserBoard/user_board.postgres.sql" ); |
221 | 221 | $wgExtNewTables[] = array( 'user_profile', "$dir/UserProfile/user_profile.postgres.sql" ); |
222 | 222 | $wgExtNewTables[] = array( 'user_stats', "$dir/UserStats/user_stats.postgres.sql" ); |
— | — | @@ -250,7 +250,7 @@ |
251 | 251 | "$dir/UserGifts/usergifts.sql", true ) ); |
252 | 252 | $updater->addExtensionUpdate( array( 'addTable', 'user_system_messages', |
253 | 253 | "$dir/UserSystemMessages/user_system_messages.sql", true ) ); |
254 | | - } elseif ( $updater->getDB()->getType() == 'postgresql' ) { |
| 254 | + } elseif ( $updater->getDB()->getType() == 'postgres' ) { |
255 | 255 | $updater->addExtensionUpdate( array( 'addTable', 'user_board', |
256 | 256 | "$dir/UserBoard/user_board.postgres.sql", true ) ); |
257 | 257 | $updater->addExtensionUpdate( array( 'addTable', 'user_profile', |