function linkedin_init in LinkedIn Integration 7
Same name and namespace in other branches
- 6 linkedin.module \linkedin_init()
4 calls to linkedin_init()
- linkedin_access_token in ./
linkedin.inc - @todo Please document this function.
- _linkedin_get_fields in ./
linkedin.inc - @todo Please document this function.
- _linkedin_get_profile_fields in ./
linkedin.inc - @todo Please document this function.
- _linkedin_put_profile_field in ./
linkedin.inc - @todo Please document this function.
File
- ./
linkedin.module, line 12
Code
function linkedin_init() {
if (!@(include_once variable_get('linkedin_liboauth_path', ''))) {
if (file_exists(drupal_get_path('module', 'oauth_common') . '/lib/OAuth.php')) {
variable_set('linkedin_liboauth_path', drupal_get_path('module', 'oauth_common') . '/lib/OAuth.php');
}
else {
drupal_set_message(t('Unable to find the OAuth library. Please check your settings for the Linkedin module.'), 'warning');
}
}
}