applications/luci-ntpc: Refreshed CBI model to work with latest UCI scheme
[project/luci.git] / applications / luci-ntpc / luasrc / model / cbi / ntpc / ntpc.lua
index cc46983..d8b35c6 100644 (file)
@@ -12,15 +12,11 @@ You may obtain a copy of the License at
 
 $Id$
 ]]--
 
 $Id$
 ]]--
-require("luci.tools.webadmin")
 m = Map("ntpclient", translate("ntpc"), translate("ntpc_desc"))
 
 s = m:section(TypedSection, "ntpclient", translate("general"))
 s.anonymous = true
 
 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"))
 
 s:option(Value, "interval", translate("ntpc_interval"))
 s:option(Value, "count", translate("ntpc_count"), translate("ntpc_count_desc"))