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:
c8ffc89
)
modules/admin-full: remove session expiry workaround from setting
author
Jo-Philipp Wich
<redacted>
Wed, 8 Aug 2012 10:11:00 +0000
(10:11 +0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 8 Aug 2012 10:11:00 +0000
(10:11 +0000)
modules/admin-full/luasrc/controller/admin/system.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/controller/admin/system.lua
b/modules/admin-full/luasrc/controller/admin/system.lua
index a5666ccbb22e0346fb8b64e31ea3dad12a61dbc5..1087cf8db67a7c5c006bb2a598aa4f3f1eddd961 100644
(file)
--- a/
modules/admin-full/luasrc/controller/admin/system.lua
+++ b/
modules/admin-full/luasrc/controller/admin/system.lua
@@
-51,9
+51,6
@@
function action_clock_status()
if set ~= nil and set > 0 then
local date = os.date("*t", set)
if date then
- -- prevent session timeoutby updating mtime
- nixio.fs.utimes(luci.sauth.sessionpath .. "/" .. luci.dispatcher.context.authsession, set, set)
-
luci.sys.call("date -s '%04d-%02d-%02d %02d:%02d:%02d'" %{
date.year, date.month, date.day, date.hour, date.min, date.sec
})
git clone https://git.99rst.org/PROJECT