summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-01-15 18:16:21 +0000
committerRémy Coutable <remy@rymai.me>2018-01-15 18:16:21 +0000
commit9e70ff345fa68d700b77b5939d34870ee61cb131 (patch)
tree5c1aa2a19b4ecf8e98b30c8182f562288fb89209 /app
parentc75a8af16f0f2bfd407cc2c8bfd42312c1115c79 (diff)
parentfd54d7a2b6d6dde9a53c493585b205c93ae393dc (diff)
downloadgitlab-ce-9e70ff345fa68d700b77b5939d34870ee61cb131.tar.gz
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')
-rw-r--r--app/models/concerns/sha_attribute.rb1
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 }