Permalink
Browse files

Use DB minimum versions constants

  • Loading branch information...
1 parent f4c538f commit 66651ee362aa72ebdee6c0b45addb206059d0ae5 @dregad dregad committed Jan 28, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 admin/check/check_database_inc.php
View
8 admin/check/check_database_inc.php
@@ -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;
}

0 comments on commit 66651ee

Please sign in to comment.