diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-05 09:23:53 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-05 09:23:53 +0200 |
commit | 8134fe0efe287f6512b7684d4c654b2d43f3df9d (patch) | |
tree | 6e852abf93696cd0fc48d257b4dfa1225f88c8f2 /app/models/key.rb | |
parent | 8f4a0bd1743875289d5870b7d19ecb6c80016b6c (diff) | |
download | gitlab-ce-8134fe0efe287f6512b7684d4c654b2d43f3df9d.tar.gz |
git host fixed
Diffstat (limited to 'app/models/key.rb')
-rw-r--r-- | app/models/key.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index f2f0134cde5..572f002b5bc 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -19,7 +19,7 @@ class Key < ActiveRecord::Base end def update_gitosis - GitoProxy.system.new.configure do |c| + Gitlabhq::GitHost.system.new.configure do |c| c.update_keys(identifier, key) projects.each do |project| @@ -29,7 +29,7 @@ class Key < ActiveRecord::Base end def gitosis_delete_key - GitoProxy.system.new.configure do |c| + Gitlabhq::GitHost.system.new.configure do |c| c.delete_key(identifier) projects.each do |project| |