File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff 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 ] ) {
You can’t perform that action at this time.
0 commit comments