Code Duplication    Length = 7-7 lines in 2 locations

lib/Ajde/Mailer/class.phpmailer.php 2 locations

@@ 2781-2787 (lines=7) @@
2778
     *
2779
     * @return void
2780
     */
2781
    public function clearCCs()
2782
    {
2783
        foreach ($this->cc as $cc) {
2784
            unset($this->all_recipients[strtolower($cc[0])]);
2785
        }
2786
        $this->cc = [];
2787
    }
2788
2789
    /**
2790
     * Clear all BCC recipients.
@@ 2794-2800 (lines=7) @@
2791
     *
2792
     * @return void
2793
     */
2794
    public function clearBCCs()
2795
    {
2796
        foreach ($this->bcc as $bcc) {
2797
            unset($this->all_recipients[strtolower($bcc[0])]);
2798
        }
2799
        $this->bcc = [];
2800
    }
2801
2802
    /**
2803
     * Clear all ReplyTo recipients.