summaryrefslogtreecommitdiffstats
path: root/syslog-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-controller.lua')
-rw-r--r--syslog-controller.lua13
1 files changed, 1 insertions, 12 deletions
diff --git a/syslog-controller.lua b/syslog-controller.lua
index e4b8d4d..f0fb343 100644
--- a/syslog-controller.lua
+++ b/syslog-controller.lua
@@ -1,17 +1,6 @@
module(..., package.seeall)
-local list_redir = function (self)
- self.conf.action = "status"
- self.conf.type = "redir"
- error (self.conf)
-end
-
-mvc = {}
-mvc.on_load = function(self, parent)
- if (self.worker[self.conf.action] == nil ) or ( self.conf.action == "init" ) then
- self.worker[self.conf.action] = list_redir(self)
- end
-end
+default_action = "status"
local function getstatus(self)
local status = self.model.getstatus()