From cf0a4b246f5cf3e6fa4c515c557e1d0b43f77fc3 Mon Sep 17 00:00:00 2001 From: Drew Gross Date: Mon, 23 May 2016 20:04:10 -0700 Subject: [PATCH] remove adaptive collection call --- src/Controllers/DatabaseController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controllers/DatabaseController.js b/src/Controllers/DatabaseController.js index c3f92b1f..e547c883 100644 --- a/src/Controllers/DatabaseController.js +++ b/src/Controllers/DatabaseController.js @@ -679,8 +679,7 @@ DatabaseController.prototype.find = function(className, query, { return (isMaster ? Promise.resolve() : schemaController.validatePermission(className, aclGroup, op)) .then(() => this.reduceRelationKeys(className, query)) .then(() => this.reduceInRelation(className, query, schemaController)) - .then(() => this.adapter.adaptiveCollection(className)) - .then(collection => { + .then(() => { if (!isMaster) { query = this.addPointerPermissions(schemaController, className, op, query, aclGroup); }