function remove_account() { $otx = new Otx(); $otx->remove_account(); return array('msg' => _('Your OTX account has been disconnected.')); }