|
@@ -404,6 +404,9 @@ function chado_get_version($exact = FALSE, $warn_if_unsupported = FALSE) {
|
|
|
if (preg_match('/^1\.2\d+$/', $effective_version)) {
|
|
|
$effective_version = "1.2";
|
|
|
}
|
|
|
+ else if (preg_match('/^1\.3\d+$/', $effective_version)) {
|
|
|
+ $effective_version = "1.3";
|
|
|
+ }
|
|
|
if ($warn_if_unsupported and ($effective_version < 1.11 and $effective_version != 'not installed')) {
|
|
|
drupal_set_message(t("WARNING: The currently installed version of Chado, v$exact_version, is not fully compatible with Tripal."), 'warning');
|
|
|
}
|