diff options
author | Steven Barth <steven@midlink.org> | 2008-08-26 23:00:44 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-26 23:00:44 +0000 |
commit | 91ba7c42f5b45614c9f4c803d09399f08a8e27b1 (patch) | |
tree | 21d1e1d67b3bee82eb123c0c5dbb274f2fcb6b59 /applications/luci-statistics/root/usr/bin/stat-genconfig | |
parent | 43b3217e5595acc91ff6d7614a5c21c88696fbcc (diff) |
UCI API changes
Diffstat (limited to 'applications/luci-statistics/root/usr/bin/stat-genconfig')
-rwxr-xr-x | applications/luci-statistics/root/usr/bin/stat-genconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig index 3159f6f7fa..071cff2ca5 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 -local sections = uci.get_all( "luci_statistics" ) +local uci = luci.model.uci.cursor() +local sections = uci:get_all( "luci_statistics" ) function section( plugin ) |