Fixed access to removed method
This commit is contained in:
parent
d6b2b4f069
commit
e8e8ca940b
|
@ -57,7 +57,7 @@ module Gitlab
|
||||||
@local_dir = File.join(Rails.root, 'tmp',"gitlabhq-gitolite-#{Time.now.to_i}")
|
@local_dir = File.join(Rails.root, 'tmp',"gitlabhq-gitolite-#{Time.now.to_i}")
|
||||||
Dir.mkdir @local_dir
|
Dir.mkdir @local_dir
|
||||||
|
|
||||||
`git clone #{self.class.admin_uri} #{@local_dir}/gitolite`
|
`git clone #{Gitlab.config.gitolite_admin_uri} #{@local_dir}/gitolite`
|
||||||
end
|
end
|
||||||
|
|
||||||
def push
|
def push
|
||||||
|
|
Loading…
Reference in a new issue