git host fixed

This commit is contained in:
Dmitriy Zaporozhets 2011-12-05 09:23:53 +02:00
parent 8f4a0bd174
commit 8134fe0efe
7 changed files with 14 additions and 8 deletions

View file

@ -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|