TRUE)); } } /** * Implementation of hook_requirements(). * * @ingroup tripal_legacy_db */ function tripal_db_requirements($phase) { $requirements = array(); if ($phase == 'install') { // make sure chado is installed if (!$GLOBALS["chado_is_installed"]) { $requirements ['tripal_db'] = array( 'title' => "tripal_db", 'value' => "ERROR: Chado must be installed before this module can be enabled", 'severity' => REQUIREMENT_ERROR, ); } } return $requirements; } /** * Implementation of hook_install(). * * @ingroup tripal_legacy_db */ function tripal_db_install() { } /** * Implementation of hook_uninstall(). * * @ingroup tripal_legacy_db */ function tripal_db_uninstall() { }