Code Duplication    Length = 8-8 lines in 2 locations

manager/includes/controls/phpmailer/PHPMailer.php 2 locations

@@ 3449-3456 (lines=8) @@
3446
    /**
3447
     * Clear all CC recipients.
3448
     */
3449
    public function clearCCs()
3450
    {
3451
        foreach ($this->cc as $cc) {
3452
            unset($this->all_recipients[strtolower($cc[0])]);
3453
        }
3454
        $this->cc = [];
3455
        $this->clearQueuedAddresses('cc');
3456
    }
3457
3458
    /**
3459
     * Clear all BCC recipients.
@@ 3461-3468 (lines=8) @@
3458
    /**
3459
     * Clear all BCC recipients.
3460
     */
3461
    public function clearBCCs()
3462
    {
3463
        foreach ($this->bcc as $bcc) {
3464
            unset($this->all_recipients[strtolower($bcc[0])]);
3465
        }
3466
        $this->bcc = [];
3467
        $this->clearQueuedAddresses('bcc');
3468
    }
3469
3470
    /**
3471
     * Clear all ReplyTo recipients.