From a4fa60ff526b3504b89adf123aef694875d04be3 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Fri, 22 Jan 2016 19:36:47 -0500
Subject: [PATCH] Cronjjob created. Ist that all? Don't  need to register it somewhere? We will se...

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

diff --git a/interface/lib/classes/remote.d/mail.inc.php b/interface/lib/classes/remote.d/mail.inc.php
index 9147770..9229899 100644
--- a/interface/lib/classes/remote.d/mail.inc.php
+++ b/interface/lib/classes/remote.d/mail.inc.php
@@ -357,7 +357,7 @@
 			return false;
 		}
 	
-		if (/*$action_type != 'backup_download_mail' and*/ $action_type != 'backup_restore_mail') {
+		if (/*$action_type != 'backup_download_mail' and*/ $action_type != 'backup_restore_mail' and $action_type != 'backup_delete_mail') {
 			$this->server->fault('invalid_action', "Invalid action_type $action_type");
 			return false;
 		}

--
Gitblit v1.9.1