Skip to content

Commit

Permalink
Remove unused function (#2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-gross authored and flovilmart committed Jun 13, 2016
1 parent 324cd85 commit 2cc1b0c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Controllers/SchemaController.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,17 +358,6 @@ class SchemaController {
})
}


// Returns whether the schema knows the type of all these keys.
hasKeys(className, keys) {
for (let key of keys) {
if (!this.data[className] || !this.data[className][key]) {
return false;
}
}
return true;
}

// Returns a promise that resolves successfully to the new schema
// object or fails with a reason.
// If 'freeze' is true, refuse to modify the schema.
Expand Down Expand Up @@ -622,7 +611,7 @@ class SchemaController {
}
return Promise.resolve(this);
}

// Validates the base CLP for an operation
testBaseCLP(className, aclGroup, operation) {
if (!this.perms[className] || !this.perms[className][operation]) {
Expand Down

0 comments on commit 2cc1b0c

Please sign in to comment.