summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Ablett <cablett@gitlab.com>2019-04-24 21:17:53 +0000
committercharlieablett <cablett@gitlab.com>2019-04-25 09:39:53 +1200
commit8eae788fd4248db1fcab2062195e542baf04c936 (patch)
tree8e697d408b7249dfdb95905d44a5cc19bd54dce0
parent7e6befc05de87ba44115bbae0274c65727f9c2b9 (diff)
downloadgitlab-ce-8eae788fd4248db1fcab2062195e542baf04c936.tar.gz
Use English instead of Latin
-rw-r--r--lib/gitlab/import_export/attribute_cleaner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/attribute_cleaner.rb b/lib/gitlab/import_export/attribute_cleaner.rb
index 1faa3c1614f..2d64ea77060 100644
--- a/lib/gitlab/import_export/attribute_cleaner.rb
+++ b/lib/gitlab/import_export/attribute_cleaner.rb
@@ -28,8 +28,8 @@ module Gitlab
return true if 'cached_markdown_version'.equal?(key)
- prohibited_suffices = %w(_id _html)
- prohibited_suffices.each do |suffix|
+ prohibited_suffixes = %w(_id _html)
+ prohibited_suffixes.each do |suffix|
return true if key.end_with?(suffix)
end
false