From 5dde72e3dd12d53b5ae45c4f6496d102f518d563 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 Feb 2018 17:45:05 +0100 Subject: [PATCH] Update actions_sendmails.inc.php --- htdocs/core/actions_sendmails.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/core/actions_sendmails.inc.php b/htdocs/core/actions_sendmails.inc.php index ff567803ae4..d478dc6bc06 100644 --- a/htdocs/core/actions_sendmails.inc.php +++ b/htdocs/core/actions_sendmails.inc.php @@ -364,8 +364,6 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO $result=$mailfile->sendfile(); if ($result) { - $error=0; - // Two hooks are available into method $mailfile->sendfile, so dedicated code is no more required /* if (! empty($conf->dolimail->enabled))