function overlay_user_update

Implements hook_user_update().

File

drupal/core/modules/overlay/overlay.module, line 109
Displays the Drupal administration interface in an overlay.

Code

function overlay_user_update($account) {
  if (isset($account->overlay)) {
    drupal_container()
      ->get('user.data')
      ->set('overlay', $account
      ->id(), 'enabled', (int) $account->overlay);
  }
}