You are here

function gravatar_user_presave in Gravatar integration 7

Implements hook_user_presave().

File

./gravatar.module, line 280
Integrates gravatar service for user pictures.

Code

function gravatar_user_presave(&$edit, $account, $category) {
  if (isset($edit['gravatar'])) {
    $edit['data']['gravatar'] = $edit['gravatar'];
  }
}