summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
commita36006b19aa02e9d9d9bb59802bb66d4cc5ec4d3 (patch)
tree0dc980e0be74b9dfd5cb750ab3a77ecc760c682e
parenteda53d1d4130965b5d49edb3d27ebe5f1a4c420f (diff)
downloadacf-postgresql-a36006b19aa02e9d9d9bb59802bb66d4cc5ec4d3.tar.bz2
acf-postgresql-a36006b19aa02e9d9d9bb59802bb66d4cc5ec4d3.tar.xz
Updated for handle_form now passing self to get and set functions
-rw-r--r--postgresql-model.lua8
1 files 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