original_string: public function release_lock($key, $ownerid) {
          if ($this->check_lock_state($key, $ownerid)) {
              return ($this->redis->del($key) !== false);
          }
          return false;
      }
code: public function release_lock($key, $ownerid) {
          if ($this->check_lock_state($key, $ownerid)) {
              return ($this->redis->del($key) !== false);
          }
          return false;
      }
code_tokens: public function release_lock ( $ key , $ ownerid ) { if ( $ this -> check_lock_state ( $ key , $ ownerid ) ) { return ( $ this -> redis -> del ( $ key ) !== false ) ; } return false ; }
docstring: Releases a given lock if the owner information matches.
  
  @see cache_is_lockable
  @param string $key Name of the lock to release.
  @param string $ownerid Owner information to use.
  @return bool True if the lock is released, false if it is not.
docstring_tokens: Releases a given lock if the owner information matches .