summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-04-11 23:13:21 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-04-11 23:13:21 +0200
commite9409d1f4d07cfdca9d4fc18f62a9c688035deae (patch)
tree1cde9b1da20b4bfb18816cd1d76554cb6c4454fb /config/initializers
parent0f31acd0ec9b8a6ccfe9c6b0038736ad724814c0 (diff)
downloadgitlab-ce-e9409d1f4d07cfdca9d4fc18f62a9c688035deae.tar.gz
Synchronize default issue closing pattern in documetation and implementation, fixes #6742
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/1_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index ce672372a3d..59564d9ea33 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -90,7 +90,7 @@ Settings.gitlab['signup_enabled'] ||= false
Settings.gitlab['signin_enabled'] ||= true if Settings.gitlab['signin_enabled'].nil?
Settings.gitlab['restricted_visibility_levels'] = Settings.send(:verify_constant_array, Gitlab::VisibilityLevel, Settings.gitlab['restricted_visibility_levels'], [])
Settings.gitlab['username_changing_enabled'] = true if Settings.gitlab['username_changing_enabled'].nil?
-Settings.gitlab['issue_closing_pattern'] = '([Cc]loses|[Ff]ixes) #(\d+)' if Settings.gitlab['issue_closing_pattern'].nil?
+Settings.gitlab['issue_closing_pattern'] = '([Cc]lose[sd]|[Ff]ixe[sd]) #(\d+)' if Settings.gitlab['issue_closing_pattern'].nil?
Settings.gitlab['default_projects_features'] ||= {}
Settings.gitlab.default_projects_features['issues'] = true if Settings.gitlab.default_projects_features['issues'].nil?
Settings.gitlab.default_projects_features['merge_requests'] = true if Settings.gitlab.default_projects_features['merge_requests'].nil?