summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-08 10:11:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-08 10:11:00 +0000
commitbf7b19f33b2e0a784e5a0b63e5f4bc926d918d7e (patch)
tree03fc527f6c6754b3d6447bae17714fe80a791a5d
parentc8ffc897e312355ce2cebdb7446529d0fb41bb08 (diff)
modules/admin-full: remove session expiry workaround from setting
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index a5666ccbb..1087cf8db 100644
--- 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
})