luci-base: dispatcher.lua: remove redundant check_fs_depends() call
authorJo-Philipp Wich <jo@mein.io>
Wed, 5 Feb 2020 16:42:58 +0000 (17:42 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 08eea3f93e9f2e9a2940df2e3a7afbe04c40f4b6)

modules/luci-base/luasrc/dispatcher.lua

index 72884b72240b033bfd158f09cac68b395dd09f38..c227b68c858d00731a85010a9a5a8db7a5c7fa7b 100644 (file)
@@ -139,7 +139,7 @@ local function check_depends(spec)
                return true
        end
 
-       if type(spec.depends.fs) == "table" and not check_fs_depends(spec.depends.fs) then
+       if type(spec.depends.fs) == "table" then
                local satisfied = false
                local alternatives = (#spec.depends.fs > 0) and spec.depends.fs or { spec.depends.fs }
                for _, alternative in ipairs(alternatives) do