[fix] Remove isAllowedScript leftovers (#6366)

Fixes #6365
This commit is contained in:
Martín Fernández
2020-07-09 18:11:56 +02:00
committed by GitHub
parent d6b820fd5a
commit f9293a67b0
3 changed files with 3 additions and 3 deletions

View File

@@ -1035,7 +1035,7 @@ function CreDocument:register(registry)
registry:addProvider("rtf", "application/rtf", self, 90)
registry:addProvider("xhtml", "application/xhtml+xml", self, 90)
registry:addProvider("zip", "application/zip", self, 10)
-- Scripts that we allow running in the FM (c.f., util.isAllowedScript)
-- Scripts that we allow running in the FM (c.f., Device:canExecuteScript)
registry:addProvider("sh", "application/x-shellscript", self, 90)
registry:addProvider("py", "text/x-python", self, 90)
end