function block_user_presave

7.x block.module block_user_presave(&$edit, $account, $category)

Implements hook_user_presave().

File

drupal/modules/block/block.module, line 597
Controls the visual building blocks a page is constructed with.

Code

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