function removeAssociation($server_url, $handle)
    {
        // create Redis keys
        $serverKey = $this->associationServerKey($server_url);
        $associationKey = $this->associationKey($server_url, 
            $handle);
        
        // Removing the association from the server's association list
        $removed = $this->redis->lrem($serverKey, 0, $associationKey);
        if ($removed < 1) {
            return false;
        }

        // Delete the association itself
        return $this->redis->del($associationKey);
    }
function removeAssociation($server_url, $handle)
    {
        // create Redis keys
        $serverKey = $this->associationServerKey($server_url);
        $associationKey = $this->associationKey($server_url, 
            $handle);
        
        // Removing the association from the server's association list
        $removed = $this->redis->lrem($serverKey, 0, $associationKey);
        if ($removed < 1) {
            return false;
        }

        // Delete the association itself
        return $this->redis->del($associationKey);
    }
function removeAssociation ( $ server_url , $ handle ) { // create Redis keys $ serverKey = $ this -> associationServerKey ( $ server_url ) ; $ associationKey = $ this -> associationKey ( $ server_url , $ handle ) ; // Removing the association from the server's association list $ removed = $ this -> redis -> lrem ( $ serverKey , 0 , $ associationKey ) ; if ( $ removed < 1 ) { return false ; } // Delete the association itself return $ this -> redis -> del ( $ associationKey ) ; }
Immediately delete association from Redis.
Immediately delete association from Redis .