From 92767dff1d01ccbefeda9c751f627e6e3d9b97df Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 6 Feb 2015 14:33:33 +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))