예제 #1
0
 /**
  * Unlock user account
  * @param User $user
  * @return mixed
  */
 public function unlockUser(User $user)
 {
     // Fast Return in case of server stopped
     if (!$this->isServerAvailable()) {
         return null;
     }
     return $this->gitLabClient->api($this::API_USERS)->unblock($user->getGitLabId());
 }