Fixed access to removed method

This commit is contained in:
randx 2012-08-29 00:19:34 +03:00
parent d6b2b4f069
commit e8e8ca940b

View file

@ -57,7 +57,7 @@ module Gitlab
@local_dir = File.join(Rails.root, 'tmp',"gitlabhq-gitolite-#{Time.now.to_i}")
Dir.mkdir @local_dir
`git clone #{self.class.admin_uri} #{@local_dir}/gitolite`
`git clone #{Gitlab.config.gitolite_admin_uri} #{@local_dir}/gitolite`
end
def push