Permalink
Browse files

Remove dead code

  current_user_guid became dead code after commit 699d116

Change-Id: I79bcf769d45b5491ac0c33774438ff669d89d529
  • Loading branch information...
1 parent 90a7c3c commit 5df55ca66c533e83d2f021948987ba4ce1983176 Bleicke and Jesse Zhang committed Feb 12, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −4 lib/cloud_controller/security_context.rb
  2. +0 −1 spec/models/service_instance_spec.rb
@@ -40,10 +40,6 @@ def self.current_user_email
return token['email'] if token
end
- def self.current_user_guid
- return token['user_id'] if token
- end
-
def self.current_user_has_email?(email)
current_user_email && current_user_email.downcase == email.downcase
end
@@ -10,7 +10,6 @@ module VCAP::CloudController
before do
VCAP::CloudController::SecurityContext.stub(:current_user_email) { email }
- VCAP::CloudController::SecurityContext.stub(:current_user_guid) { guid }
end
it_behaves_like "a CloudController model", {

0 comments on commit 5df55ca

Please sign in to comment.