From: Jo-Philipp Wich Date: Wed, 8 Aug 2012 10:11:00 +0000 (+0000) Subject: modules/admin-full: remove session expiry workaround from setting X-Git-Tag: 0.11.0~463 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bf7b19f33b2e0a784e5a0b63e5f4bc926d918d7e;p=project%2Fluci.git modules/admin-full: remove session expiry workaround from setting --- diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index a5666ccbb2..1087cf8db6 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 })