lib/modules/apostrophe-caches/index.js
function(callback) {
          if (callback) {
            return body(callback);
          } else {
            return Promise.promisify(body)();
          }
          function body(callback) {
            return self.cacheCollection.remove({
              name: name
            }, callback);
          }
        }
function(callback) {
          if (callback) {
            return body(callback);
          } else {
            return Promise.promisify(body)();
          }
          function body(callback) {
            return self.cacheCollection.remove({
              name: name
            }, callback);
          }
        }
function ( callback ) { if ( callback ) { return body ( callback ) ; } else { return Promise . promisify ( body ) ( ) ; } function body ( callback ) { return self . cacheCollection . remove ( { name : name } , callback ) ; } }
Empty the cache. If there is no callback a promise is returned.
Empty the cache . If there is no callback a promise is returned .