diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-06-23 19:31:14 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-06-23 19:31:14 +0000 |
commit | d296fec1d9bbdee3a212e4d0ac6e6a2cca21e70e (patch) | |
tree | 49b44dbd61f2d0d16887ee0751d1e8d5796398e1 /lbu-controller.lua | |
parent | 90a75da89bf3039fe4b26276923d21b20935f60f (diff) | |
download | acf-alpine-conf-d296fec1d9bbdee3a212e4d0ac6e6a2cca21e70e.tar.bz2 acf-alpine-conf-d296fec1d9bbdee3a212e4d0ac6e6a2cca21e70e.tar.xz |
Added ability to manage archive of lbu backups.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1223 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-controller.lua')
-rw-r--r-- | lbu-controller.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lbu-controller.lua b/lbu-controller.lua index 4a755fb..4072740 100644 --- a/lbu-controller.lua +++ b/lbu-controller.lua @@ -120,3 +120,16 @@ function expert (self) return filedetails end +function listbackups(self) + return self.model.getbackupfiles() +end + +function deletebackup(self) + self.model.deletebackupfile(self.clientdata.backup) + redirect_to_referrer(self) +end + +function selectbackup(self) + self.model.selectbackupfile(self.clientdata.backup) + redirect_to_referrer(self) +end |