From 531b6e8d2bdfe9cac2ca558d10216089f6fd26da Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 15 Nov 2018 18:13:07 +0100 Subject: [PATCH 1/2] FIX travis errors --- htdocs/emailcollector/class/emailcollector.class.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/htdocs/emailcollector/class/emailcollector.class.php b/htdocs/emailcollector/class/emailcollector.class.php index fa5b500b40b..f9dfc34ba70 100644 --- a/htdocs/emailcollector/class/emailcollector.class.php +++ b/htdocs/emailcollector/class/emailcollector.class.php @@ -702,6 +702,16 @@ class EmailCollector extends CommonObject * * @return int 0=OK, Nb of error if error */ + + /** + * overwitePropertiesOfObject + * + * @param object $object Current object + * @param string $actionparam Action parameters + * @param string $messagetext Body + * @param string $subject Subject + * @return int 0=OK, Nb of error if error + */ private function overwritePropertiesOfObject(&$object, $actionparam, $messagetext, $subject) { $errorforthisaction = 0; From 03acd7a40ce553c648fe6ccdbf8aba87eb55a650 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 15 Nov 2018 18:24:32 +0100 Subject: [PATCH 2/2] FIX travis error again --- htdocs/emailcollector/class/emailcollector.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/emailcollector/class/emailcollector.class.php b/htdocs/emailcollector/class/emailcollector.class.php index f9dfc34ba70..b5cb47be0ae 100644 --- a/htdocs/emailcollector/class/emailcollector.class.php +++ b/htdocs/emailcollector/class/emailcollector.class.php @@ -1050,7 +1050,6 @@ class EmailCollector extends CommonObject } } } - } if (empty($thirdpartyid)) // Try to find thirdparty using email @@ -1236,7 +1235,6 @@ class EmailCollector extends CommonObject else { dol_syslog("EmailCollector::doCollectOneCollector message ".$imapemail." to ".$connectstringtarget." was set to read", LOG_DEBUG); - } } else