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:22:15 +0000 |
commit | 6de563787eab24b3e67cb085644e942245d1a744 (patch) | |
tree | eb25f4d82eebe421776e9b512855563c9bf3e955 | |
parent | f4143114ac1518dbfd666d69f1daf1a287dc43a4 (diff) | |
download | acf-vlc-daemon-6de563787eab24b3e67cb085644e942245d1a744.tar.bz2 acf-vlc-daemon-6de563787eab24b3e67cb085644e942245d1a744.tar.xz |
Updated for handle_form now passing self to get and set functions
-rw-r--r-- | vlc-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vlc-model.lua b/vlc-model.lua index d1fe1ee..f799aa3 100644 --- a/vlc-model.lua +++ b/vlc-model.lua @@ -25,11 +25,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 @@ -54,9 +54,9 @@ function get_filedetails() return modelfunctions.getfiledetails(path) end -function setconfigfile(filedetails) +function setconfigfile(self, filedetails) -- FIXME Validate - return modelfunctions.setfiledetails(filedetails, {configfile}) + return modelfunctions.setfiledetails(self, filedetails, {configfile}) end function getleases() |