whole_func_string: function vcache_remove(msg, reply) {
      var self = this
      var remove_prior = this.prior
  
      remove_prior.call(self, msg, function(err, ent) {
        if (err) {
          return reply(err)
        }
  
        var vkey = versionKey(msg.qent, msg.q.id) // Only called with a valid entity id
        self.act(
          { role: 'cache', cmd: 'set' },
          { key: vkey, val: -1, expires: settings.expires },
          function(err, result) {
            var ent = result && result.value
  
            if (err) {
              ++stats.cache_errs
              return reply(err)
            }
  
            ++stats.drop
            self.log.debug('drop', vkey)
            return reply(ent)
          }
        )
      })
    }
func_code_string: function vcache_remove(msg, reply) {
      var self = this
      var remove_prior = this.prior
  
      remove_prior.call(self, msg, function(err, ent) {
        if (err) {
          return reply(err)
        }
  
        var vkey = versionKey(msg.qent, msg.q.id) // Only called with a valid entity id
        self.act(
          { role: 'cache', cmd: 'set' },
          { key: vkey, val: -1, expires: settings.expires },
          function(err, result) {
            var ent = result && result.value
  
            if (err) {
              ++stats.cache_errs
              return reply(err)
            }
  
            ++stats.drop
            self.log.debug('drop', vkey)
            return reply(ent)
          }
        )
      })
    }
func_documentation_string: Cache remove