From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- applications/luci-app-watchcat/luasrc/controller/watchcat.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 applications/luci-app-watchcat/luasrc/controller/watchcat.lua (limited to 'applications/luci-app-watchcat/luasrc/controller') diff --git a/applications/luci-app-watchcat/luasrc/controller/watchcat.lua b/applications/luci-app-watchcat/luasrc/controller/watchcat.lua deleted file mode 100644 index 27d5b74b20..0000000000 --- a/applications/luci-app-watchcat/luasrc/controller/watchcat.lua +++ /dev/null @@ -1,11 +0,0 @@ --- Copyright 2012 Christian Gagneraud --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.watchcat", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/system") then - return - end - entry({"admin", "services", "watchcat"}, cbi("watchcat/watchcat"), _("Watchcat"), 90) -end -- cgit v1.2.3