Commit ecb847fd authored by Rémy Coutable's avatar Rémy Coutable

Add FakeApplicationSettings#commit_email_hostname

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 806ea576
---
title: Fix a 500 error that could occur until all migrations are done
merge_request: 23939
author:
type: fixed
......@@ -37,5 +37,9 @@ module Gitlab
def pick_repository_storage
repository_storages.sample
end
def commit_email_hostname
super.presence || ApplicationSetting.default_commit_email_hostname
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment