From 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 Mon Sep 17 00:00:00 2001 From: Zach LeBar Date: Wed, 21 Mar 2012 15:06:32 +0000 Subject: Change all -controller.lua files to use new handle_form() functions found in acf_www-controller.lua instead of the controllerfunctions.lua version and also instead of redirect_to_referrer(). Made corresponding changes to vmail-model .lua to make everything work. --- hostname-controller.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hostname-controller.lua') diff --git a/hostname-controller.lua b/hostname-controller.lua index 623373f..c68c5c3 100644 --- a/hostname-controller.lua +++ b/hostname-controller.lua @@ -1,8 +1,6 @@ -- the hostname controller module (..., package.seeall) -require("controllerfunctions") - default_action = "read" read = function(self) @@ -10,5 +8,5 @@ read = function(self) end edit = function(self) - return controllerfunctions.handle_form(self, self.model.read_name, self.model.update_name, self.clientdata, "Save", "Edit Hostname", "Hostname Set") + return self.handle_form(self, self.model.read_name, self.model.update_name, self.clientdata, "Save", "Edit Hostname", "Hostname Set") end -- cgit v1.2.3