Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unban_service.rb « users « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 363783cf240a6a731cf80d19d2e775ceb7ab6bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Users
  class UnbanService < BannedUserBaseService
    private

    def update_user(user)
      user.activate
    end

    def action
      :unban
    end
  end
end