You are here

function slickgrid_user in Slickgrid 6

Implementation of hook_user().

File

./slickgrid.module, line 241

Code

function slickgrid_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':

      // User is being deleted - remove any slickgrid settings
      slickgrid_delete_settings(array(
        'uid' => $account->uid,
      ));
      break;
  }
}