Fix: Comment unused $errorforemail (outside loop)

This commit is contained in:
MDW 2024-03-13 17:02:37 +01:00
parent 3ffa85eb49
commit dfaa8358fb
No known key found for this signature in database

View file

@ -3363,7 +3363,7 @@ class EmailCollector extends CommonObject
if (empty($mode) && empty($error)) {
$res = imap_mail_move($connection, $imapemail, $targetdir, CP_UID);
if ($res == false) {
$errorforemail++;
// $errorforemail++; // Not in loop, not needed, not initialised
$this->error = imap_last_error();
$this->errors[] = $this->error;