diff --git a/lib/gitlab/backend/gitolite.rb b/lib/gitlab/backend/gitolite.rb index 1eb8a0b056017cc1eb4e5b73d9b4d17910e3f3fd..96a13350ede9c0f63d6d71b81aed922a7528a290 100644 --- a/lib/gitlab/backend/gitolite.rb +++ b/lib/gitlab/backend/gitolite.rb @@ -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