diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:45 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:45 +0000 |
commit | dbf67f3fbc5ada51768e1718dffeda88e971975a (patch) | |
tree | 8b0d7454e62566fe0914fa20fa414f38359e5a8d /pingu-model.lua | |
parent | 3d14538d699a162cd07df5004bb7de36a3cd4c9f (diff) | |
download | acf-pingu-dbf67f3fbc5ada51768e1718dffeda88e971975a.tar.bz2 acf-pingu-dbf67f3fbc5ada51768e1718dffeda88e971975a.tar.xz |
Updated for handle_form now passing self to get and set functions
Diffstat (limited to 'pingu-model.lua')
-rw-r--r-- | pingu-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pingu-model.lua b/pingu-model.lua index 15ed34d..d163fc3 100644 --- a/pingu-model.lua +++ b/pingu-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 @@ -34,6 +34,6 @@ function get_filedetails() return modelfunctions.getfiledetails(configfile) end -function update_filedetails(filedetails) - return modelfunctions.setfiledetails(filedetails, {configfile}) +function update_filedetails(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, {configfile}) end |