src/lastfmapi/Lib/Cache.php
private function del($unique_vars)
    {
        $query = "DELETE FROM cache WHERE unique_vars='" . htmlentities(serialize($unique_vars), ENT_QUOTES, 'UTF-8') . "'";
        if ($this->db->query($query)) {
            return true;
        } else {
            // TODO: Handle error
            return false;
        }
    }
private function del($unique_vars)
    {
        $query = "DELETE FROM cache WHERE unique_vars='" . htmlentities(serialize($unique_vars), ENT_QUOTES, 'UTF-8') . "'";
        if ($this->db->query($query)) {
            return true;
        } else {
            // TODO: Handle error
            return false;
        }
    }
private function del ( $ unique_vars ) { $ query = "DELETE FROM cache WHERE unique_vars='" . htmlentities ( serialize ( $ unique_vars ) , ENT_QUOTES , 'UTF-8' ) . "'" ; if ( $ this -> db -> query ( $ query ) ) { return true ; } else { // TODO: Handle error
 return false ; } }
Internal method to delete unneeded cache data
@access private
@param array $unique_vars Array of variables that are unique to this piece of cached data
@return boolean
Internal method to delete unneeded cache data