Skip to content

Commit 2cc1b0c

Browse files
drew-grossflovilmart
authored andcommitted
Remove unused function (#2046)
1 parent 324cd85 commit 2cc1b0c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/Controllers/SchemaController.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -358,17 +358,6 @@ class SchemaController {
358358
})
359359
}
360360

361-
362-
// Returns whether the schema knows the type of all these keys.
363-
hasKeys(className, keys) {
364-
for (let key of keys) {
365-
if (!this.data[className] || !this.data[className][key]) {
366-
return false;
367-
}
368-
}
369-
return true;
370-
}
371-
372361
// Returns a promise that resolves successfully to the new schema
373362
// object or fails with a reason.
374363
// If 'freeze' is true, refuse to modify the schema.
@@ -622,7 +611,7 @@ class SchemaController {
622611
}
623612
return Promise.resolve(this);
624613
}
625-
614+
626615
// Validates the base CLP for an operation
627616
testBaseCLP(className, aclGroup, operation) {
628617
if (!this.perms[className] || !this.perms[className][operation]) {

0 commit comments

Comments
 (0)