diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 11:59:25 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 11:59:25 +0000 |
commit | 50e6733cc17e25b4e038a5ca4f03c2d847d7252a (patch) | |
tree | d015c21d5c1d2867568560437af1f15c6e84109b /syslog-model.lua | |
parent | 323bd5e68f99926c9b18c63b0bafceb1958cfc4b (diff) | |
download | acf-alpine-baselayout-50e6733cc17e25b4e038a5ca4f03c2d847d7252a.tar.bz2 acf-alpine-baselayout-50e6733cc17e25b4e038a5ca4f03c2d847d7252a.tar.xz |
Updated for handle_form now passing self to get and set functions
Diffstat (limited to 'syslog-model.lua')
-rw-r--r-- | syslog-model.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/syslog-model.lua b/syslog-model.lua index a46d95b..426b4fb 100644 --- a/syslog-model.lua +++ b/syslog-model.lua @@ -145,11 +145,11 @@ end -- ################################################################################ -- PUBLIC FUNCTIONS -function get_startstop(clientdata) +function get_startstop(self, clientdata) return modelfunctions.get_startstop(processname) end -function startstop_service(startstop, action) +function startstop_service(self, startstop, action) return modelfunctions.startstop_service(startstop, action) end @@ -193,7 +193,7 @@ function getconfig() return config end -function updateconfig (config) +function updateconfig (self, config) local success = true success, config = validateconfig(config) @@ -206,6 +206,6 @@ function updateconfig (config) return config end -function update_filedetails (filedetails) - return modelfunctions.setfiledetails(filedetails, {configfile}, validate_configfile) +function update_filedetails (self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, {configfile}, validate_configfile) end |