Ticket #2684: BasesfFacebookActions.class.php.patch
| File BasesfFacebookActions.class.php.patch, 0.6 kB (added by ben-xo, 1 year ago) |
|---|
-
BasesfFacebookActions.class.php
old new 34 34 //catch the exception that gets thrown if the cookie has an invalid session_key in it 35 35 try { 36 36 if (!$this->facebook->api_client->users_isAppAdded()) { 37 $this->facebook->redirect($ facebook->get_add_url());37 $this->facebook->redirect($this->facebook->get_add_url()); 38 38 } 39 39 } catch (Exception $ex) { 40 40 //this will clear cookies for your application and redirect them to a login prompt