You are here

function gravatar_check_requirements in Gravatar integration 6

Same name and namespace in other branches
  1. 7 gravatar.install \gravatar_check_requirements()
1 call to gravatar_check_requirements()
gravatar_help in ./gravatar.module
Implements hook_help().

File

./gravatar.install, line 40
Install and uninstall schema and functions for the gravatar module.

Code

function gravatar_check_requirements() {
  $requirements = gravatar_requirements('runtime');
  if (!empty($requirements['gravatar'])) {
    drupal_set_message(t('Please check the following potential issues: !issues', array(
      '!issues' => $requirements['gravatar']['description'],
    )), 'warning', FALSE);
  }
}