Esempio n. 1
0
 /**
  * Detach ga account (remove from db)
  *
  * @param $id
  */
 public function logout($id)
 {
     $access_token = new Access_token($id);
     $access_token->delete();
     $this->addFlash(lang('logged_out_success'), 'success');
     redirect('settings/analytics');
 }