diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:43 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:17:43 +0000 |
commit | f407b3231eee3b3d715e6d92a1b306a31321a218 (patch) | |
tree | 0c56edec338cf73166884c1574c582b4b113c411 | |
parent | 51de0ea690a7b5d213479b6d0e7b69b38846ad1d (diff) | |
download | acf-dovecot-f407b3231eee3b3d715e6d92a1b306a31321a218.tar.bz2 acf-dovecot-f407b3231eee3b3d715e6d92a1b306a31321a218.tar.xz |
Updated for handle_form now passing self to get and set functions
-rw-r--r-- | dovecot-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dovecot-model.lua b/dovecot-model.lua index f85b795..173ecbb 100644 --- a/dovecot-model.lua +++ b/dovecot-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 @@ -38,6 +38,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 |