From a36006b19aa02e9d9d9bb59802bb66d4cc5ec4d3 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 28 Apr 2012 12:17:44 +0000 Subject: Updated for handle_form now passing self to get and set functions --- postgresql-model.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postgresql-model.lua b/postgresql-model.lua index 6a4d188..df259d8 100644 --- a/postgresql-model.lua +++ b/postgresql-model.lua @@ -34,11 +34,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 @@ -67,6 +67,6 @@ function getfiledetails(filename) return modelfunctions.getfiledetails(filename, determinefilelist()) end -function updatefiledetails(filedetails) - return modelfunctions.setfiledetails(filedetails, determinefilelist()) +function updatefiledetails(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, determinefilelist()) end -- cgit v1.2.3