diff options
author | Rémy Coutable <remy@rymai.me> | 2018-01-15 21:16:21 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-01-15 21:16:21 +0300 |
commit | 9e70ff345fa68d700b77b5939d34870ee61cb131 (patch) | |
tree | 5c1aa2a19b4ecf8e98b30c8182f562288fb89209 /app/models | |
parent | c75a8af16f0f2bfd407cc2c8bfd42312c1115c79 (diff) | |
parent | fd54d7a2b6d6dde9a53c493585b205c93ae393dc (diff) |
Merge branch '1819-override-ce' into 'master'
CE: Override module to specify that we're overriding
See merge request gitlab-org/gitlab-ce!16131
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/concerns/sha_attribute.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/sha_attribute.rb b/app/models/concerns/sha_attribute.rb index 67ecf470f7e..703a72c355c 100644 --- a/app/models/concerns/sha_attribute.rb +++ b/app/models/concerns/sha_attribute.rb @@ -3,6 +3,7 @@ module ShaAttribute module ClassMethods def sha_attribute(name) + return if ENV['STATIC_VERIFICATION'] return unless table_exists? column = columns.find { |c| c.name == name.to_s } |