summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-base/luasrc/util.lua10
-rw-r--r--modules/luci-base/luasrc/util.luadoc8
2 files changed, 0 insertions, 18 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.")
diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc
index 19c8010df..c4f28d039 100644
--- a/modules/luci-base/luasrc/util.luadoc
+++ b/modules/luci-base/luasrc/util.luadoc
@@ -256,14 +256,6 @@ Clones the given object and return it's copy.
]]
---[[
-Create a dynamic table which automatically creates subtables.
-
-@class function
-@name dtable
-@return Dynamic Table
-]]
-
----[[
Recursively serialize given data to lua code, suitable for restoring
with loadstring().