aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/jsonschema.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/jsonschema.lua b/util/jsonschema.lua
index 96d6547d..eab2d817 100644
--- a/util/jsonschema.lua
+++ b/util/jsonschema.lua
@@ -43,17 +43,10 @@ local function simple_validate(schema, data)
end
end
-local complex_validate
-
local function validate(schema, data, root)
if type(schema) == "boolean" then
return schema
- else
- return complex_validate(schema, data, root)
end
-end
-
-function complex_validate(schema, data, root)
if root == nil then
root = schema