luci-app-cpulimit: delete useless function
This commit is contained in:
parent
d652ed3dc1
commit
756ba41b87
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user