Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 12:15:49 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 12:15:49 +0400
commit081c272b85d9344ff3a0b548f8f5eabc60e9a58d (patch)
tree7babb4bdcec37e2bfe5eb1b3a3914c99de4d989a /lib
parent12198bee2ff321eed6f2580e40675c4081999d4f (diff)
Remove outdated specs and fixed key remove
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/backend/shell.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb
index 7423b106a45..c596148b13c 100644
--- a/lib/gitlab/backend/shell.rb
+++ b/lib/gitlab/backend/shell.rb
@@ -38,8 +38,8 @@ module Gitlab
# Ex.
# remove_key("sha-rsa")
#
- def remove_key(key_content)
- system("/home/git/gitlab-shell/bin/gitlab-keys rm-key \"#{key_content}\"")
+ def remove_key(username, key_content)
+ system("/home/git/gitlab-shell/bin/gitlab-keys rm-key #{username} \"#{key_content}\"")
end