diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-18 13:20:42 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-18 16:21:27 +0200 |
commit | db0d5b33d04550a1e81a8ea8662f1a2d1305228d (patch) | |
tree | cb83cdcb06d77efd9df7bdefdee25147bb9a4dc7 /modules/luci-base/luasrc/util.lua | |
parent | 1d5a3123ed63777e2d40250fba99cf8cf2f58476 (diff) |
luci-base: drop luci.util.dtable()
The dtable() function has no user in the entire LuCI repo, so drop it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/util.lua')
-rw-r--r-- | modules/luci-base/luasrc/util.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/luci-base/luasrc/util.lua b/modules/luci-base/luasrc/util.lua index 36bbaaf47..f47d3e53a 100644 --- a/modules/luci-base/luasrc/util.lua +++ b/modules/luci-base/luasrc/util.lua @@ -407,16 +407,6 @@ function clone(object, deep) 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.") |