Code Duplication    Length = 8-8 lines in 2 locations

htdocs/class/mail/phpmailer/class.phpmailer.php 2 locations

@@ 3059-3066 (lines=8) @@
3056
     * Clear all CC recipients.
3057
     * @return void
3058
     */
3059
    public function clearCCs()
3060
    {
3061
        foreach ($this->cc as $cc) {
3062
            unset($this->all_recipients[strtolower($cc[0])]);
3063
        }
3064
        $this->cc = array();
3065
        $this->clearQueuedAddresses('cc');
3066
    }
3067
3068
    /**
3069
     * Clear all BCC recipients.
@@ 3072-3079 (lines=8) @@
3069
     * Clear all BCC recipients.
3070
     * @return void
3071
     */
3072
    public function clearBCCs()
3073
    {
3074
        foreach ($this->bcc as $bcc) {
3075
            unset($this->all_recipients[strtolower($bcc[0])]);
3076
        }
3077
        $this->bcc = array();
3078
        $this->clearQueuedAddresses('bcc');
3079
    }
3080
3081
    /**
3082
     * Clear all ReplyTo recipients.