Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 12:13:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 12:13:28 +0300
commitdc90e040b1da4c089e90b21809a325d67ab2c5cb (patch)
treec894e6d6e008562db76151beb771a8c3ae3260ca /app/models
parent6a4f265c940d3d0a9aeacf09222920d7d2cc4e45 (diff)
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'app/models')
-rw-r--r--app/models/concerns/cache_markdown_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/cache_markdown_field.rb b/app/models/concerns/cache_markdown_field.rb
index e4e0f55d5f4..04eb4659469 100644
--- a/app/models/concerns/cache_markdown_field.rb
+++ b/app/models/concerns/cache_markdown_field.rb
@@ -102,7 +102,7 @@ module CacheMarkdownField
def updated_cached_html_for(markdown_field)
return unless cached_markdown_fields.markdown_fields.include?(markdown_field)
- refresh_markdown_cache if attribute_invalidated?(cached_markdown_fields.html_field(markdown_field))
+ refresh_markdown_cache! if attribute_invalidated?(cached_markdown_fields.html_field(markdown_field))
cached_html_for(markdown_field)
end