From b4d9e2867fdb9e95e777be189d907768466452d7 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 14 Aug 2008 16:48:17 +0000 Subject: [PATCH 1/1] applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme --- applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua index cc4698384..d8b35c6e1 100644 --- a/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua +++ b/applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua @@ -12,15 +12,11 @@ You may obtain a copy of the License at $Id$ ]]-- -require("luci.tools.webadmin") m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc")) s = m:section(TypedSection, "ntpclient", translate("general")) s.anonymous = true -iface = s:option(ListValue, "iface", translate("ntpc_iface"), translate("ntpc_iface_desc")) -luci.tools.webadmin.cbi_add_networks(iface) - s:option(Value, "interval", translate("ntpc_interval")) s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc")) -- 2.11.0