Commit d9468939 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '329778-fine-tune-a-few-queries-found-in-groupmembers-index-2' into 'master'

Remove duplicate appearance helper method

See merge request gitlab-org/gitlab!60934
parents d78df37c 4482c45b
...@@ -133,10 +133,6 @@ module EE ...@@ -133,10 +133,6 @@ module EE
s_('This GitLab instance is undergoing maintenance and is operating in read-only mode.') s_('This GitLab instance is undergoing maintenance and is operating in read-only mode.')
end end
def appearance
::Appearance.current
end
def db_lag def db_lag
@db_lag ||= Rails.cache.fetch('geo:db_lag', expires_in: 20.seconds) do @db_lag ||= Rails.cache.fetch('geo:db_lag', expires_in: 20.seconds) do
::Gitlab::Geo::HealthCheck.new.db_replication_lag_seconds ::Gitlab::Geo::HealthCheck.new.db_replication_lag_seconds
......
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