applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme
authorSteven Barth <steven@midlink.org>
Thu, 14 Aug 2008 16:48:17 +0000 (16:48 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 14 Aug 2008 16:48:17 +0000 (16:48 +0000)
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua

index cc46983847ab6eba2839c145f99cbe82574a89fe..d8b35c6e1b32bf5620f7ab97b4e1b0b0df9df68a 100644 (file)
@@ -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"))