summaryrefslogtreecommitdiffstats
path: root/postgresql-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-model.lua')
-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