gluon-luci-admin: remove unused function

This commit is contained in:
Nils Schneider 2014-02-19 01:24:33 +01:00
parent 9c2ba883c9
commit 072acf5ae3

View File

@ -131,20 +131,6 @@ function action_upgrade()
end
end
function _keep_pattern()
local kpattern = ""
local files = luci.model.uci.cursor():get_all("luci", "flash_keep")
if files then
kpattern = ""
for k, v in pairs(files) do
if k:sub(1,1) ~= "." and nixio.fs.glob(v)() then
kpattern = kpattern .. " " .. v
end
end
end
return kpattern
end
function fork_exec(command)
local pid = nixio.fork()
if pid > 0 then