From af74997588e6423efb8ea424c75b2e640943207f Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 6 Feb 2015 14:38:50 +0000 Subject: [PATCH] skip activesync debug.txt on filebackup (, if activated) --- phpgwapi/inc/class.db_backup.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpgwapi/inc/class.db_backup.inc.php b/phpgwapi/inc/class.db_backup.inc.php index f7ddaf5f39..8642bc8afe 100644 --- a/phpgwapi/inc/class.db_backup.inc.php +++ b/phpgwapi/inc/class.db_backup.inc.php @@ -1015,6 +1015,12 @@ class db_backup { array_shift($tlist); } + elseif ($file == 'debug.txt' && stripos($f,'activesync')!==false) + { + // skip activesync debug.txt on backupFiles + //error_log(__METHOD__.__LINE__.'->'.$f.'/'.$file); + array_shift($tlist); + } else { if(is_dir($f.'/'.$file))