Commit 89daf3d6 authored by Stan Hu's avatar Stan Hu

Merge branch 'rachelfox-master-patch-67238' into 'master'

fix exist typo

See merge request gitlab-org/gitlab!58616
parents 772828de ee0052ef
...@@ -19,7 +19,7 @@ class UserDetail < ApplicationRecord ...@@ -19,7 +19,7 @@ class UserDetail < ApplicationRecord
# For backward compatibility. # For backward compatibility.
# Older migrations (and their tests) reference the `User.migration_bot` where the `bio` attribute is set. # Older migrations (and their tests) reference the `User.migration_bot` where the `bio` attribute is set.
# Here we disable writing the markdown cache when the `bio_html` column does not exists. # Here we disable writing the markdown cache when the `bio_html` column does not exist.
override :invalidated_markdown_cache? override :invalidated_markdown_cache?
def invalidated_markdown_cache? def invalidated_markdown_cache?
self.class.column_names.include?('bio_html') && super self.class.column_names.include?('bio_html') && super
......
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