From 7a094cf04dd3fe002bf568e5bdbc29ddd833fb29 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 22 Feb 2012 20:45:51 +0000 Subject: Changed startstop to be a standard form by creating two model functions and deleting the special controller function --- lib/controllerfunctions.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/controllerfunctions.lua') diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua index ee10a14..b0879ae 100644 --- a/lib/controllerfunctions.lua +++ b/lib/controllerfunctions.lua @@ -97,10 +97,3 @@ function handle_form(self, getFunction, setFunction, clientdata, option, label, return form end - -function handle_startstop(self, startstopfunction, clientdata) - local result = startstopfunction(clientdata.action) - result.value.result = self:redirect_to_referrer(result.value.result) - return result -end - -- cgit v1.2.3