Code Duplication    Length = 8-8 lines in 2 locations

includes/libraries/Email/Phpmailer/class.phpmailer.php 2 locations

@@ 3171-3178 (lines=8) @@
3168
     * Clear all CC recipients.
3169
     * @return void
3170
     */
3171
    public function clearCCs()
3172
    {
3173
        foreach ($this->cc as $cc) {
3174
            unset($this->all_recipients[strtolower($cc[0])]);
3175
        }
3176
        $this->cc = array();
3177
        $this->clearQueuedAddresses('cc');
3178
    }
3179
3180
    /**
3181
     * Clear all BCC recipients.
@@ 3184-3191 (lines=8) @@
3181
     * Clear all BCC recipients.
3182
     * @return void
3183
     */
3184
    public function clearBCCs()
3185
    {
3186
        foreach ($this->bcc as $bcc) {
3187
            unset($this->all_recipients[strtolower($bcc[0])]);
3188
        }
3189
        $this->bcc = array();
3190
        $this->clearQueuedAddresses('bcc');
3191
    }
3192
3193
    /**
3194
     * Clear all ReplyTo recipients.