Fix methods visibility in gitlab database module

This commit is contained in:
Grzegorz Bizon 2016-07-19 14:21:39 +02:00
parent 239d8ab30c
commit e15b63b34e

View file

@ -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
@ -70,5 +70,7 @@ module Gitlab
row.first
end
end
private_class_method :database_version
end
end