You are here

function lingotek_disconnect_form_submit in Lingotek Translation 7.7

File

./lingotek.admin.inc, line 2614

Code

function lingotek_disconnect_form_submit($form_state, $form) {

  //disassociate on TMS
  LingotekSync::disassociateAllEntities();
  LingotekSync::disassociateAllSets();

  //Delete account information from database
  LingotekSync::deleteAccountInfo();
  drupal_set_message(t('Account information has been removed from Drupal database.'));
}