public static function dropAllTables() { // first drop all the custom tables we've created CRM_Core_BAO_CustomGroup::dropAllTables(); // drop all multilingual views CRM_Core_I18n_Schema::dropAllViews(); CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'sql' . DIRECTORY_SEPARATOR . 'civicrm_drop.mysql'); }
static function dropAllTables() { // first drop all the custom tables we've created require_once 'CRM/Core/BAO/CustomGroup.php'; CRM_Core_BAO_CustomGroup::dropAllTables(); // drop all multilingual views require_once 'CRM/Core/I18n/Schema.php'; CRM_Core_I18n_Schema::dropAllViews(); require_once 'CRM/Utils/File.php'; CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'sql' . DIRECTORY_SEPARATOR . 'civicrm_drop.mysql'); }