diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-10-31 20:33:25 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-10-31 20:33:25 +0000 |
commit | 8addabae08034da1f6e4ea6059148ecc1ea9d045 (patch) | |
tree | dadccbb6d52e563bd1797dcb5d9349fc9eff2ee6 /postgresql-controller.lua | |
parent | 15f4736441fa4828f029e8052ef97d733422d7ae (diff) | |
download | acf-postgresql-8addabae08034da1f6e4ea6059148ecc1ea9d045.tar.bz2 acf-postgresql-8addabae08034da1f6e4ea6059148ecc1ea9d045.tar.xz |
Modify logfile to get logging info from the config and use common view
Diffstat (limited to 'postgresql-controller.lua')
-rw-r--r-- | postgresql-controller.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postgresql-controller.lua b/postgresql-controller.lua index 2b375e8..b2d80c2 100644 --- a/postgresql-controller.lua +++ b/postgresql-controller.lua @@ -28,6 +28,10 @@ function mymodule.expert(self) return self.handle_form(self, function() return self.model.getfiledetails(self.clientdata.filename) end, self.model.updatefiledetails, self.clientdata, "Save", "Edit Postgresql File", "File Saved") end +function mymodule.logfile(self) + return self.model.get_logfile(self, self.clientdata) +end + -- Use acf-db to allow editing of the database dbcontrollerfunctions = require("dbcontrollerfunctions") for n,f in pairs(dbcontrollerfunctions) do |