summaryrefslogtreecommitdiffstats
path: root/heimdal-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 01:19:42 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 01:19:42 +0000
commit39844298500aaf33bdd9bdb0c9ae32ec2d72f7db (patch)
treeed6682aca71aa197e441977bc80642f33d2fbfbb /heimdal-controller.lua
parentdb4e59d2ef828a2dbc909d9b86b1bbcdbe5d7e17 (diff)
downloadacf-heimdal-39844298500aaf33bdd9bdb0c9ae32ec2d72f7db.tar.bz2
acf-heimdal-39844298500aaf33bdd9bdb0c9ae32ec2d72f7db.tar.xz
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model) Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'heimdal-controller.lua')
-rw-r--r--heimdal-controller.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/heimdal-controller.lua b/heimdal-controller.lua
index d602010..e80eded 100644
--- a/heimdal-controller.lua
+++ b/heimdal-controller.lua
@@ -1,8 +1,5 @@
module(..., package.seeall)
--- Load libraries
-require("controllerfunctions")
-
default_action = "status"
function status(self)
@@ -10,7 +7,7 @@ function status(self)
end
function expert(self)
- return controllerfunctions.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Heimdal Config", "Configuration Set")
+ return self.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Heimdal Config", "Configuration Set")
end
function klist(self)
@@ -18,7 +15,7 @@ function klist(self)
end
function kinit(self)
- return controllerfunctions.handle_form(self, self.model.get_kinit, self.model.set_kinit, self.clientdata, "Submit", "Obtain Kerberos Ticket")
+ return self.handle_form(self, self.model.get_kinit, self.model.set_kinit, self.clientdata, "Submit", "Obtain Kerberos Ticket")
end
function kdestroy(self)