function ga_stats_is_ready in Google Analytics Statistics 7
Same name and namespace in other branches
- 7.2 ga_stats.module \ga_stats_is_ready()
 
Determine if the module is properly configured for use.
The current logic is a placeholder for something more sophisticated.
Return value
bool
5 calls to ga_stats_is_ready()
- ga_stats_admin_settings in ./
ga_stats.admin.inc  - Callback for the GA Stats admin form.
 - ga_stats_auth_settings in ./
ga_stats.admin.inc  - Callback for GA Stats authentication form.
 - ga_stats_cron in ./
ga_stats.module  - Implements hook_cron().
 - ga_stats_get_client in includes/
ga.inc  - GA client library factory.
 - ga_stats_requirements in ./
ga_stats.install  - Implements hook_requirements().
 
File
- ./
ga_stats.module, line 111  
Code
function ga_stats_is_ready() {
  return variable_get('ga_stats_email', FALSE) && variable_get('ga_stats_password', FALSE);
}