remove adaptive collection call

This commit is contained in:
Drew Gross
2016-05-23 20:04:10 -07:00
parent 14938bbe7a
commit cf0a4b246f

View File

@@ -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);
}