public functionexecute($account = NULL) {
// Skip blocking user if they are already blocked.if ($account !== FALSE && $account->isActive()) {
// For efficiency manually save the original account before applying any// changes.$account->original = clone$account;
$account->block();
$account->save();
}
}