Commit e15b63b3 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix methods visibility in gitlab database module

parent 239d8ab3
...@@ -55,12 +55,12 @@ module Gitlab ...@@ -55,12 +55,12 @@ module Gitlab
end end
end end
private
def self.connection def self.connection
ActiveRecord::Base.connection ActiveRecord::Base.connection
end end
private_class_method :connection
def self.database_version def self.database_version
row = connection.execute("SELECT VERSION()").first row = connection.execute("SELECT VERSION()").first
...@@ -70,5 +70,7 @@ module Gitlab ...@@ -70,5 +70,7 @@ module Gitlab
row.first row.first
end end
end end
private_class_method :database_version
end end
end end
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