diff options
author | root <root@trask19.(none)> | 2009-06-04 15:00:46 +0000 |
---|---|---|
committer | root <root@trask19.(none)> | 2009-06-04 15:00:46 +0000 |
commit | 38be13224a35c42f11267a4c81220fb6a5f04adb (patch) | |
tree | 86dcf183246981697d9bc6cad89f1d6451e29d67 /lib/controllerfunctions.lua | |
parent | 9509dd4d07458af65e03b3487a11dff2bb053976 (diff) | |
download | acf-core-38be13224a35c42f11267a4c81220fb6a5f04adb.tar.bz2 acf-core-38be13224a35c42f11267a4c81220fb6a5f04adb.tar.xz |
Changed status to use openrc status, changed startstop to enable all actions regardless of status.
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 |