Skip to content
Snippets Groups Projects
Commit e15b63b3 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix methods visibility in gitlab database module

parent 239d8ab3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -55,12 +55,12 @@ module Gitlab
end
end
 
private
def self.connection
ActiveRecord::Base.connection
end
 
private_class_method :connection
def self.database_version
row = connection.execute("SELECT VERSION()").first
 
Loading
Loading
@@ -70,5 +70,7 @@ module Gitlab
row.first
end
end
private_class_method :database_version
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment