diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-06-03 22:42:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-06-03 22:42:01 +0000 |
commit | 77f8074a01277917ab9ab0d00778f59bb0a88817 (patch) | |
tree | 0a74c83baa97175d553a900ff1378b68fced149d /applications/luci-statistics/luasrc/statistics | |
parent | 3bcf6dbea363d7267d95bb0199d91603a33362b7 (diff) |
make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics')
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/datatree.lua | 2 | ||||
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/rrdtool.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/datatree.lua b/applications/luci-statistics/luasrc/statistics/datatree.lua index e3c9e34bb..ba6d7740b 100644 --- a/applications/luci-statistics/luasrc/statistics/datatree.lua +++ b/applications/luci-statistics/luasrc/statistics/datatree.lua @@ -4,7 +4,7 @@ local util = require("luci.util") local sys = require("luci.sys") local fs = require("luci.fs") local uci = require("luci.model.uci").Session() -local sections, names = uci:sections( "luci_statistics" ) +local sections = uci:sections( "luci_statistics" ) Instance = util.class() diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-statistics/luasrc/statistics/rrdtool.lua index c2ac7a8e6..5f07a41ff 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool.lua @@ -17,7 +17,7 @@ function Graph.__init__( self, timespan, opts ) opts = opts or { } local uci = luci.model.uci.Session() - local sections, names = uci:sections( "luci_statistics" ) + local sections = uci:sections( "luci_statistics" ) -- helper classes self.colors = luci.statistics.rrdtool.colors.Instance() |