Commit 924a013b authored by Quang-Minh Nguyen's avatar Quang-Minh Nguyen

Fix error when clear an empty configuration

parent 088bd77d
......@@ -140,7 +140,7 @@ module Gitlab
# Clear configuration
def self.clear_configuration
@proxy = nil
remove_instance_variable(:@feature_available)
remove_instance_variable(:@feature_available) if defined?(@feature_available)
end
def self.active_record_models
......
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