summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
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
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')
-rw-r--r--applications/luci-statistics/luasrc/statistics/datatree.lua2
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool.lua2
-rwxr-xr-xapplications/luci-statistics/root/usr/bin/stat-genconfig2
3 files changed, 3 insertions, 3 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()
diff --git a/applications/luci-statistics/root/usr/bin/stat-genconfig b/applications/luci-statistics/root/usr/bin/stat-genconfig
index 6241e9814..c106ed39d 100755
--- a/applications/luci-statistics/root/usr/bin/stat-genconfig
+++ b/applications/luci-statistics/root/usr/bin/stat-genconfig
@@ -22,7 +22,7 @@ require("luci.util")
local ipt = luci.sys.iptparser.IptParser()
local uci = luci.model.uci.Session()
-local sections, names = uci:sections( "luci_statistics" )
+local sections = uci:sections( "luci_statistics" )
function section( plugin )