luci-app-mjpg-streamer: remove reference to luci.i18n.loadc()
authorJo-Philipp Wich <jo@mein.io>
Thu, 18 Oct 2018 09:00:25 +0000 (11:00 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Nov 2018 10:01:45 +0000 (11:01 +0100)
The i18n.loadc() function has been a no-op since almost six years.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua

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