From 981fc18fda15fb99435d3b77d366653d4ce6bcc4 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 --- lvm2-model.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lvm2-model.lua') diff --git a/lvm2-model.lua b/lvm2-model.lua index 9a75d62..1a4b6f8 100644 --- a/lvm2-model.lua +++ b/lvm2-model.lua @@ -17,11 +17,11 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin -- ################################################################################ -- 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 -- cgit v1.2.3