diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:44 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:44 +0000 |
commit | 8751fe04d044ee04fa61325df4f0839f1e0ac8b8 (patch) | |
tree | 5911b947d351e636652ebe90f26dca940257e541 | |
parent | 0fa65090b7a2c9cdfcdc76b0c9f66bbb003816d9 (diff) | |
download | acf-lighttpd-8751fe04d044ee04fa61325df4f0839f1e0ac8b8.tar.bz2 acf-lighttpd-8751fe04d044ee04fa61325df4f0839f1e0ac8b8.tar.xz |
Updated for handle_form now passing self to get and set functions
-rw-r--r-- | lighttpd-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lighttpd-model.lua b/lighttpd-model.lua index ca77c64..8ef11bd 100644 --- a/lighttpd-model.lua +++ b/lighttpd-model.lua @@ -18,11 +18,11 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin -- ################################################################################ -- 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 @@ -47,8 +47,8 @@ function getfiledetails(filename) return modelfunctions.getfiledetails(filename, filelist) end -function updatefiledetails(filedetails) - return modelfunctions.setfiledetails(filedetails, filelist) +function updatefiledetails(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, filelist) end function getlogfile () |