'Retrieve cached disco info data.
The data parameter is not used.'

def get_cached_info(self, jid, node, ifrom, data):

    with self.lock:
        if (not self.node_exists(jid, node, ifrom)):
            return None
        else:
            return self.get_node(jid, node, ifrom)['info']
