luci-base: implement luci.model.uci.get_state()
authorJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 07:24:36 +0000 (09:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 07:24:36 +0000 (09:24 +0200)
commit24ac0d81ee56c5630b38aefbb5526e8bfcf6cd88
tree25e08411b55989df540a1c764e14f5c0464ee4a9
parent4d6c5d284bfe164c6a4a67423e8ed3c52c4b0b2f
luci-base: implement luci.model.uci.get_state()

Introduce a get_state() function which can be used to access legacy
uci state variables. This is usually not needed anymore but some
packages (mainly mwan3) still rely on this.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/model/uci.lua