Commit d6b2b4f06952625da670735724e8c14ac3d7b9c5
1 parent
5d88cdd9
Exists in
master
and in
4 other branches
fixed configure call within gitolite
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
lib/gitlab/backend/gitolite.rb
| ... | ... | @@ -8,21 +8,21 @@ module Gitlab |
| 8 | 8 | class AccessDenied < StandardError; end |
| 9 | 9 | |
| 10 | 10 | def set_key key_id, key_content, projects |
| 11 | - self.configure do |c| | |
| 11 | + configure do |c| | |
| 12 | 12 | c.update_keys(key_id, key_content) |
| 13 | 13 | c.update_project(project.path, projects) |
| 14 | 14 | end |
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | def remove_key key_id, projects |
| 18 | - self.configure do |c| | |
| 18 | + configure do |c| | |
| 19 | 19 | c.delete_key(key_id) |
| 20 | 20 | c.update_project(project.path, projects) |
| 21 | 21 | end |
| 22 | 22 | end |
| 23 | 23 | |
| 24 | 24 | def update_repository project |
| 25 | - self.configure do |c| | |
| 25 | + configure do |c| | |
| 26 | 26 | c.update_project(project.path, project) |
| 27 | 27 | end |
| 28 | 28 | end |
| ... | ... | @@ -30,7 +30,7 @@ module Gitlab |
| 30 | 30 | alias_method :create_repository, :update_repository |
| 31 | 31 | |
| 32 | 32 | def remove_repository project |
| 33 | - self.configure do |c| | |
| 33 | + configure do |c| | |
| 34 | 34 | c.destroy_project(project) |
| 35 | 35 | end |
| 36 | 36 | end |
| ... | ... | @@ -45,7 +45,7 @@ module Gitlab |
| 45 | 45 | end |
| 46 | 46 | |
| 47 | 47 | def enable_automerge |
| 48 | - self.configure do |git| | |
| 48 | + configure do |git| | |
| 49 | 49 | git.admin_all_repo |
| 50 | 50 | end |
| 51 | 51 | end | ... | ... |