summaryrefslogtreecommitdiffstats
path: root/lbu-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lbu-controller.lua')
-rw-r--r--lbu-controller.lua13
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