From dd9606825da5d73883b8313f5af905ea1b2a4d7d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 5 Jun 2008 19:16:38 +0000 Subject: * Merged Luci to use native UCI-library --- applications/luci-statistics/root/usr/bin/stat-genconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-statistics/root') diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig index c106ed39d..609fd61b9 100755 --- a/applications/luci-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-statistics/root/usr/bin/stat-genconfig @@ -21,8 +21,8 @@ require("luci.sys.iptparser") require("luci.util") local ipt = luci.sys.iptparser.IptParser() -local uci = luci.model.uci.Session() -local sections = uci:sections( "luci_statistics" ) +local uci = luci.model.uci +local sections = uci.get_all( "luci_statistics" ) function section( plugin ) -- cgit v1.2.3