Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 3130-3137 (lines=8) @@
3127
     * Clear all CC recipients.
3128
     * @return void
3129
     */
3130
    public function clearCCs()
3131
    {
3132
        foreach ($this->cc as $cc) {
3133
            unset($this->all_recipients[strtolower($cc[0])]);
3134
        }
3135
        $this->cc = array();
3136
        $this->clearQueuedAddresses('cc');
3137
    }
3138
3139
    /**
3140
     * Clear all BCC recipients.
@@ 3143-3150 (lines=8) @@
3140
     * Clear all BCC recipients.
3141
     * @return void
3142
     */
3143
    public function clearBCCs()
3144
    {
3145
        foreach ($this->bcc as $bcc) {
3146
            unset($this->all_recipients[strtolower($bcc[0])]);
3147
        }
3148
        $this->bcc = array();
3149
        $this->clearQueuedAddresses('bcc');
3150
    }
3151
3152
    /**
3153
     * Clear all ReplyTo recipients.