public function UserSingle7::unblock

8.0.x UserSingle7.php public UserSingle7::unblock()
7.x UserSingle7.php public UserSingle7::unblock()
master UserSingle7.php public UserSingle7::unblock()

Unblock a user from login.

Overrides UserSingleBase::unblock

File

lib/Drush/User/UserSingle7.php, line 11

Namespace

Drush\User

Class

UserSingle7

Code

public function unblock() {
  user_user_operations_unblock(array($this->account->uid));
}