Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -960,7 +960,7 @@ |
961 | 961 | # Migrating old restrictions to new table |
962 | 962 | # -- Andrew Garrett, January 2007. |
963 | 963 | |
964 | | - global $wgDatabase, $wgDBtype; |
| 964 | + global $wgDatabase; |
965 | 965 | |
966 | 966 | $name = 'page_restrictions'; |
967 | 967 | $patch = 'patch-page_restrictions.sql'; |
— | — | @@ -971,8 +971,7 @@ |
972 | 972 | } else { |
973 | 973 | echo "Creating $name table..."; |
974 | 974 | dbsource( archive($patch), $wgDatabase ); |
975 | | - if ( $wgDBtype !="postgres" ) |
976 | | - dbsource( archive($patch2), $wgDatabase ); |
| 975 | + dbsource( archive($patch2), $wgDatabase ); |
977 | 976 | echo "ok\n"; |
978 | 977 | |
979 | 978 | echo "Migrating old restrictions to new table..."; |