lib/openid/store/redis.rb
# Remove matching association from Redis
#
# return true when data is removed, otherwise false
Remove matching association from Redis
return true when data is removed, otherwise false
Remove matching association from Redis return true when data is removed otherwise false
def remove_association(url, handle)
        deleted = @redis.del(assoc_key(url, handle))
        assoc = get_association(url)
        if assoc && assoc.handle == handle
          deleted + @redis.del(assoc_key(url))
        else
          deleted
        end > 0
      end
def remove_association ( url , handle ) deleted = @redis . del ( assoc_key ( url , handle ) ) assoc = get_association ( url ) if assoc && assoc . handle == handle deleted + @redis . del ( assoc_key ( url ) ) else deleted end > 0 end
Remove matching association from Redis
return true when data is removed, otherwise false
Remove matching association from Redis return true when data is removed otherwise false
url
<not_specific>
handle
<not_specific>