From 634132a0d83a3c83a3927e2aa943c035030d6b80 Mon Sep 17 00:00:00 2001
From: Dominik <info@profi-webdesign.com>
Date: Thu, 19 Nov 2015 17:12:54 -0500
Subject: [PATCH] Added possibility to delete backups

---
 interface/lib/classes/remote.d/sites.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/remote.d/sites.inc.php b/interface/lib/classes/remote.d/sites.inc.php
index ad3f2e3..8770522 100644
--- a/interface/lib/classes/remote.d/sites.inc.php
+++ b/interface/lib/classes/remote.d/sites.inc.php
@@ -931,7 +931,7 @@
 			return false;
 		}
 	
-		if ($action_type != 'backup_download' and $action_type != 'backup_restore') {
+		if ($action_type != 'backup_download' and $action_type != 'backup_restore' and $action_type != 'backup_delete') {
 			$this->server->fault('invalid_action', "Invalid action_type $action_type");
 			return false;
 		}

--
Gitblit v1.9.1