Changeset 26605 for extensions/oAuth/main.inc.php
- Timestamp:
- Jan 11, 2014, 1:27:14 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/oAuth/main.inc.php
r26604 r26605 20 20 21 21 22 global $hybridauth_conf, $conf; 23 22 24 // try to load hybridauth config 23 global $hybridauth_conf;24 25 25 include_once(OAUTH_PATH . 'include/functions.inc.php'); 26 26 … … 29 29 load_hybridauth_conf(); 30 30 } 31 32 // force getuserdata() to retrieve 'oauth_id' field 33 $conf['user_fields']['oauth_id'] = 'oauth_id'; 31 34 32 35 … … 43 46 add_event_handler('loc_begin_profile', 'oauth_begin_profile'); 44 47 45 add_event_handler('loc_after_page_header', 'oauth_ include_template');48 add_event_handler('loc_after_page_header', 'oauth_page_header'); 46 49 47 50 add_event_handler('try_log_user', 'oauth_try_log_user', EVENT_HANDLER_PRIORITY_NEUTRAL-30, 2); … … 98 101 // } 99 102 // } 103 104 // pwg_unset_session_var('persona_logout'); 100 105 } 101 106
Note: See TracChangeset
for help on using the changeset viewer.