Code Duplication    Length = 8-8 lines in 2 locations

www/app/model/PHPMailer/PHPMailer/PHPMailer.php 2 locations

@@ 3431-3438 (lines=8) @@
3428
    /**
3429
     * Clear all CC recipients.
3430
     */
3431
    public function clearCCs()
3432
    {
3433
        foreach ($this->cc as $cc) {
3434
            unset($this->all_recipients[strtolower($cc[0])]);
3435
        }
3436
        $this->cc = [];
3437
        $this->clearQueuedAddresses('cc');
3438
    }
3439
3440
    /**
3441
     * Clear all BCC recipients.
@@ 3443-3450 (lines=8) @@
3440
    /**
3441
     * Clear all BCC recipients.
3442
     */
3443
    public function clearBCCs()
3444
    {
3445
        foreach ($this->bcc as $bcc) {
3446
            unset($this->all_recipients[strtolower($bcc[0])]);
3447
        }
3448
        $this->bcc = [];
3449
        $this->clearQueuedAddresses('bcc');
3450
    }
3451
3452
    /**
3453
     * Clear all ReplyTo recipients.