Skip to content

Commit

Permalink
Use DB minimum versions constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Feb 4, 2014
1 parent 26877d2 commit ba338a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/check/check_database_inc.php
Expand Up @@ -172,11 +172,11 @@
);

if( db_is_mysql() ) {
$t_db_min_version = '5.0.8';
$t_db_min_version = DB_MIN_VERSION_MYSQL;
} elseif( db_is_pgsql() ) {
# Minimum version below not due to a specific MantisBT requirement,
# but because it's the oldest supported PostgreSQL release.
$t_db_min_version = '8.4';
$t_db_min_version = DB_MIN_VERSION_PGSQL;
} elseif( db_is_mssql() ) {
$t_db_min_version = DB_MIN_VERSION_MSSQL;
} else {
$t_db_min_version = 0;
}
Expand Down

0 comments on commit ba338a6

Please sign in to comment.