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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/base_enum.rb')
-rw-r--r--app/graphql/types/base_enum.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/graphql/types/base_enum.rb b/app/graphql/types/base_enum.rb
index 0224aeddac6..11877b79e59 100644
--- a/app/graphql/types/base_enum.rb
+++ b/app/graphql/types/base_enum.rb
@@ -6,10 +6,8 @@ module Types
class CustomValue < GraphQL::Schema::EnumValue
include ::GitlabStyleDeprecations
- attr_reader :deprecation
-
def initialize(name, desc = nil, **kwargs)
- @deprecation = gitlab_deprecation(kwargs)
+ init_gitlab_deprecation(kwargs)
super(name, desc, **kwargs)
end