applications/ffwizard: rdate config not needed anymore
authorManuel Munz <freifunk@somakoma.de>
Sat, 12 Feb 2011 19:48:26 +0000 (19:48 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sat, 12 Feb 2011 19:48:26 +0000 (19:48 +0000)
applications/luci-ffwizard/luasrc/model/cbi/freifunk/ffwizard.lua

index 0094d0696a2e2c32a8b7629eb5ddf4437ed93eb9..f915cfa9ab127c9847066341c3035ce1d8004dd4 100644 (file)
@@ -1045,15 +1045,6 @@ function main.write(self, section, value)
                        uci:set("system", s['.name'], "zonename", "Europe/Berlin")
                        uci:set("system", s['.name'], "timezone", 'CET-1CEST,M3.5.0,M10.5.0/3')
                end)
-
-       -- Create time rdate_servers
-       local rdate = uci:get_all("freifunk", "time")
-       uci:delete_all("system", "time")
-       uci:section("system", "time", "rdate_servers", rdate)
-       rdate.server = rdate.rdate_servers
-       rdate.rdate_servers = ""
-       uci:delete_all("system", "rdate", nil)
-       uci:section("system", "rdate", nil, rdate)
        uci:save("system")
 
        -- Delete old watchdog settings