luci-app-cpulimit: delete useless function

This commit is contained in:
CN_SZTL 2020-03-01 16:00:29 +08:00
parent d652ed3dc1
commit 756ba41b87
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -2,8 +2,6 @@
module("luci.controller.cpulimit", package.seeall)
function index()
require("luci.i18n")
luci.i18n.loadc("cpulimit")
if not nixio.fs.access("/etc/config/cpulimit") then
return
end
@ -12,4 +10,4 @@ function index()
page.i18n = "cpulimit"
page.dependent = true
end
end