浏览代码

Merge pull request #8 from abretaud/chado131

Wow, I'm surprised we missed that.  Thanks for noticing and for the fix.
Stephen Ficklin 8 年之前
父节点
当前提交
e8a568d39b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tripal_core/api/tripal_core.chado_schema.api.inc

+ 3 - 0
tripal_core/api/tripal_core.chado_schema.api.inc

@@ -385,6 +385,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');
   }