File tree 1 file changed +5
-0
lines changed
lib/redmine_git_hosting/patches
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ module InstanceMethods
25
25
def edit_with_git_hosting ( &block )
26
26
# Set public key values for view
27
27
set_public_key_values
28
+
28
29
# Previous routine
29
30
edit_without_git_hosting ( &block )
30
31
end
@@ -33,8 +34,10 @@ def edit_with_git_hosting(&block)
33
34
def update_with_git_hosting ( &block )
34
35
# Set public key values for view
35
36
set_public_key_values
37
+
36
38
# Previous routine
37
39
update_without_git_hosting ( &block )
40
+
38
41
# Update projects if needed
39
42
update_projects
40
43
end
@@ -43,8 +46,10 @@ def update_with_git_hosting(&block)
43
46
def destroy_with_git_hosting ( &block )
44
47
# Build SSH keys list before user destruction.
45
48
ssh_keys_list = ssh_keys_to_destroy
49
+
46
50
# Destroy user
47
51
destroy_without_git_hosting ( &block )
52
+
48
53
# Destroy SSH keys
49
54
destroy_ssh_keys ( ssh_keys_list )
50
55
end
You can’t perform that action at this time.
0 commit comments