function _flickrapi_is_authenticated in Flickr API 7.2
Same name and namespace in other branches
- 7 flickrapi.module \_flickrapi_is_authenticated()
Checks if a Flickr account has been already authenticated.
Return value
Boolean TRUE if the consumer key and consumer secret tokens were found
3 calls to _flickrapi_is_authenticated()
- flickrapi_admin_settings in ./
flickrapi.admin.inc - Admin settings form
- flickrapi_admin_settings_submit in ./
flickrapi.admin.inc - Submit handler for the admin settings form.
- flickrapi_form_flickrapi_admin_settings_alter in ./
flickrapi.module - Implements hook_form_alter().
File
- ./
flickrapi.module, line 247 - FlickAPI integration module.
Code
function _flickrapi_is_authenticated() {
return variable_get('flickrapi_api_key', '') && variable_get('flickrapi_api_secret', '');
}