Remove unused function (#2046)
This commit is contained in:
@@ -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
|
// Returns a promise that resolves successfully to the new schema
|
||||||
// object or fails with a reason.
|
// object or fails with a reason.
|
||||||
// If 'freeze' is true, refuse to modify the schema.
|
// If 'freeze' is true, refuse to modify the schema.
|
||||||
|
|||||||
Reference in New Issue
Block a user