luci-base: drop luci.util.dtable()
[project/luci.git] / modules / luci-base / luasrc / util.lua
index 36bbaaf..f47d3e5 100644 (file)
@@ -407,16 +407,6 @@ function clone(object, deep)
 end
 
 
 end
 
 
-function dtable()
-        return setmetatable({}, { __index =
-                function(tbl, key)
-                        return rawget(tbl, key)
-                         or rawget(rawset(tbl, key, dtable()), key)
-                end
-        })
-end
-
-
 -- Serialize the contents of a table value.
 function _serialize_table(t, seen)
        assert(not seen[t], "Recursion detected.")
 -- Serialize the contents of a table value.
 function _serialize_table(t, seen)
        assert(not seen[t], "Recursion detected.")