diff options
Diffstat (limited to 'lib/controllerfunctions.lua')
-rw-r--r-- | lib/controllerfunctions.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/controllerfunctions.lua b/lib/controllerfunctions.lua index dbdfd19..ef910d2 100644 --- a/lib/controllerfunctions.lua +++ b/lib/controllerfunctions.lua @@ -77,14 +77,9 @@ function handle_form(self, getFunction, setFunction, clientdata, option, label, return form end -function handle_startstop(self, startstopfunction, getstatusfunction, clientdata) +function handle_startstop(self, startstopfunction, clientdata) local result = startstopfunction(clientdata.action) result.value.result = self:redirect_to_referrer(result.value.result) - - local status = getstatusfunction() - if status.value.status then status = status.value.status end - result.value.status = status - return result end |