From b9228c8fb5c035dfb5edac1cc0070a3c54d052ce Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 6 Feb 2015 14:57:26 +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 d27ca30ca3..2bef5e06cf 100644 --- a/phpgwapi/inc/class.db_backup.inc.php +++ b/phpgwapi/inc/class.db_backup.inc.php @@ -1016,6 +1016,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))