diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-07-26 16:53:36 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-07-26 16:53:36 +0200 |
commit | 20d6373016907ddd78a5e8ce89875dc63ec3ea5a (patch) | |
tree | 540439afc5262489608af0806e8a2305d7a0785a /lib/opentox.rb | |
parent | e82e7a33763357ba71c2b964f32afc8fd3afb755 (diff) |
remove even more subjectids
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 5e0bc29..685f6fc 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -98,7 +98,7 @@ module OpenTox when 'application/rdf+xml' body = self.to_rdfxml end - Authorization.check_policy(@uri, RestClientWrapper.subjectid) if $aa[:uri] + Authorization.check_policy(@uri) if $aa[:uri] uri = RestClientWrapper.post @uri.to_s, body, { :content_type => mime_type} wait ? wait_for_task(uri) : uri end @@ -121,7 +121,7 @@ module OpenTox # Delete object at webservice def delete RestClientWrapper.delete(@uri) - Authorization.delete_policies_from_uri(@uri, RestClientWrapper.subjectid) if $aa[:uri] + Authorization.delete_policies_from_uri(@uri) if $aa[:uri] end def service_uri |