public function tearDown() { CRM_Core_I18n_Schema::makeSinglelingual('en_US'); $logging = new CRM_Logging_Schema(); $logging->dropAllLogTables(); parent::tearDown(); }
/** * Clean up log tables. */ protected function tearDown() { $this->quickCleanup(array('civicrm_email')); parent::tearDown(); $this->callAPISuccess('Setting', 'create', array('logging' => FALSE)); $schema = new CRM_Logging_Schema(); $schema->dropAllLogTables(); CRM_Core_DAO::executeQuery("DELETE FROM civicrm_setting WHERE name LIKE 'logg%'"); }