luci-app-simple-adblock: remove extra controller file
authorStan Grishin <stangri@melmac.net>
Fri, 20 Jul 2018 23:50:08 +0000 (16:50 -0700)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Jul 2018 11:59:03 +0000 (13:59 +0200)
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit aaddcac5b098f5f82e59385295f2c6712aae574b)

applications/luci-app-simple-adblock/Makefile
applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua [deleted file]
applications/luci-app-simple-adblock/po/templates/simple-adblock.pot

index 8d2055829269d9a1bd31f5d71c7425dc24fbc2a6..2471078fc318377a915e182310e5c5e11fe770df 100644 (file)
@@ -10,7 +10,7 @@ LUCI_TITLE:=Simple Adblock Web UI
 LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service.
 LUCI_DEPENDS:=+luci-mod-admin-full +simple-adblock
 LUCI_PKGARCH:=all
-PKG_RELEASE:=15
+PKG_RELEASE:=16
 
 include ../../luci.mk
 
diff --git a/applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua b/applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua
deleted file mode 100644 (file)
index 46125b3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-module("luci.controller.simpleadblock", package.seeall)
-function index()
-       if not nixio.fs.access("/etc/config/simple-adblock") then
-               return
-       end
-       entry({"admin", "services", "simpleadblock"}, cbi("simpleadblock"), _("Simple AdBlock"))
-end
index f5c11ac7b74e7799a68e6d772e15da7e3770ab68..38baf58a44af8c3cfe86999daa2cac0f40259190 100644 (file)
@@ -94,9 +94,6 @@ msgstr ""
 msgid "Some output"
 msgstr ""
 
-msgid "Start Simple Adblock service"
-msgstr ""
-
 msgid "Stop the download if it is stalled for set number of seconds"
 msgstr ""