git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9be4231
)
modules/admin-full: resolve scope issue in previous commit
author
Jo-Philipp Wich
<redacted>
Wed, 1 Dec 2010 20:07:17 +0000
(20:07 +0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 1 Dec 2010 20:07:17 +0000
(20:07 +0000)
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
index f30443768a7843761dd01c171cae6401d4b2e0f4..f3c5a0143018e1645556f252272a2d23c618be2c 100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@
-19,15
+19,13
@@
require("luci.fs")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device like its hostname or the timezone."))
-function m.on_parse()
- local has_rdate = false
-
- m.uci:foreach("system", "rdate",
- function()
- has_rdate = true
- return false
- end)
-end
+local has_rdate = false
+
+m.uci:foreach("system", "rdate",
+ function()
+ has_rdate = true
+ return false
+ end)
s = m:section(TypedSection, "system", "")
git clone https://git.99rst.org/PROJECT