summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics/rrdtool.lua
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-03 22:42:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-03 22:42:01 +0000
commit77f8074a01277917ab9ab0d00778f59bb0a88817 (patch)
tree0a74c83baa97175d553a900ff1378b68fced149d /applications/luci-statistics/luasrc/statistics/rrdtool.lua
parent3bcf6dbea363d7267d95bb0199d91603a33362b7 (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/rrdtool.lua')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-statistics/luasrc/statistics/rrdtool.lua
index c2ac7a8e64..5f07a41ff4 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()