From 91ba7c42f5b45614c9f4c803d09399f08a8e27b1 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 26 Aug 2008 23:00:44 +0000 Subject: UCI API changes --- applications/luci-statistics/luasrc/statistics/datatree.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-statistics/luasrc/statistics/datatree.lua') diff --git a/applications/luci-statistics/luasrc/statistics/datatree.lua b/applications/luci-statistics/luasrc/statistics/datatree.lua index 5d3d63f99b..637fcf466f 100644 --- a/applications/luci-statistics/luasrc/statistics/datatree.lua +++ b/applications/luci-statistics/luasrc/statistics/datatree.lua @@ -18,8 +18,8 @@ module("luci.statistics.datatree", package.seeall) local util = require("luci.util") local sys = require("luci.sys") local fs = require("luci.fs") -local uci = require("luci.model.uci") -local sections = uci.get_all( "luci_statistics" ) +local uci = require("luci.model.uci").cursor() +local sections = uci:get_all( "luci_statistics" ) Instance = util.class() -- cgit v1.2.3