applications/luci-diag-devinfo: add index() stubs to controller files (#281)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 30 Jul 2011 19:42:05 +0000 (19:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 30 Jul 2011 19:42:05 +0000 (19:42 +0000)
applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua
applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua
applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua

index ba6bdcd9c165e00cc7f894338028ebfcdcfe18b8..009054a86059559f6ab78cbbdf8514790b584aaf 100644 (file)
@@ -23,6 +23,10 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
+
 function run_processes(outnets, cmdfunc)
    i = next(outnets, nil)
    while (i) do
@@ -190,4 +194,4 @@ function config_devinfo_scan(map, scannet)
    
    o = scannet:option(luci.cbi.Value, "sleepreq", translate("Sleep Between Requests"), translate("Milliseconds to sleep between requests (default 100)"))
    o.optional = true
-end
\ No newline at end of file
+end
index 0cd981e053f9d9f5f1842b83b4da03e1d9b57f7c..95859aeaf788168b2d6fc0d9134cc671c92d4025 100644 (file)
@@ -23,6 +23,9 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
         
 function get_params()
 
@@ -96,4 +99,4 @@ function action_links(netdiscovermap, mini)
    else
       b.titleref = luci.dispatcher.build_url("admin", "status", "netdiscover_devinfo")
    end
-end
\ No newline at end of file
+end
index 3d02d689a453d1d08c3d23382fafee6fa68e361e..13ac91f93ec5ac4ba6e9bd3c0e313fd954c6aa54 100644 (file)
@@ -23,6 +23,10 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
+
 function get_params()
 
    local smapnets_uci = luci.model.uci.cursor()