Browse Source

small fix of typo that will error out entire site if drush dbupdate is run with

Shawna Spoor 7 years ago
parent
commit
89bc4d870a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado_views/api/tripal_chado_views.api.inc

+ 1 - 1
tripal_chado_views/api/tripal_chado_views.api.inc

@@ -179,7 +179,7 @@ function tripal_make_view_compatible_with_external($view) {
 
   // IF chado is external then remove all config relating to drupal tables
   $is_local = isset($GLOBALS["chado_is_local"]) && $GLOBALS["chado_is_local"];
-  if (!$is_local()) {
+  if (!$is_local) {
 
     // Iterate through all displays
     foreach ($view->display as $display_name => $display) {