luci-app-mjpg-streamer: remove reference to luci.i18n.loadc()

The i18n.loadc() function has been a no-op since almost six years.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-10-18 11:00:25 +02:00
parent a04028037e
commit 13e421e093

View file

@ -5,7 +5,6 @@ module("luci.controller.mjpg-streamer", package.seeall)
function index() function index()
require("luci.i18n") require("luci.i18n")
luci.i18n.loadc("mjpg-streamer")
if not nixio.fs.access("/etc/config/mjpg-streamer") then if not nixio.fs.access("/etc/config/mjpg-streamer") then
return return
end end