Commit 06464d79 authored by Ted Trask's avatar Ted Trask

Updated for handle_form now passing self to get and set functions

parent 79cfe4b3
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment