summaryrefslogtreecommitdiffstats
path: root/lib/controllerfunctions.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-22 20:45:51 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-22 20:45:51 +0000
commit7a094cf04dd3fe002bf568e5bdbc29ddd833fb29 (patch)
treeb1d0ef289fc3b6e562356884103b0b0009814dcf /lib/controllerfunctions.lua
parent5dd6e6c5e5c6f5dc14315bae74e26421f1a9d197 (diff)
downloadacf-core-7a094cf04dd3fe002bf568e5bdbc29ddd833fb29.tar.bz2
acf-core-7a094cf04dd3fe002bf568e5bdbc29ddd833fb29.tar.xz
Changed startstop to be a standard form by creating two model functions and deleting the special controller function
Diffstat (limited to 'lib/controllerfunctions.lua')
-rw-r--r--lib/controllerfunctions.lua7
1 files changed, 0 insertions, 7 deletions
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
-