function tripal_chado_views_enable

3.x tripal_chado_views.install tripal_chado_views_enable()

File

tripal_chado_views/tripal_chado_views.install, line 66
Functions related to installing/uninstalling this module

Code

function tripal_chado_views_enable() {
  // If Tripal v2 is already installed, then when the module is first enabled
  // after an upgade, the installation of this module will try and recreate
  // some of the tables created with tripal_view and the installation will fail.
  // Therefore, the tables were temporarily moved out of the way to preserve
  // the data. Now we'll move them back.
  tripal_chado_views_upgrade_v2_v3_enable();
}