Code Duplication    Length = 6-6 lines in 2 locations

mod/contactform/include/class.phpmailer.php 2 locations

@@ 1693-1698 (lines=6) @@
1690
   * @access private
1691
   * @return string
1692
   */
1693
  function FixEOL($str) {
1694
    $str = str_replace("\r\n", "\n", $str);
1695
    $str = str_replace("\r", "\n", $str);
1696
    $str = str_replace("\n", $this->LE, $str);
1697
    return $str;
1698
  }
1699
1700
  /**
1701
   * Adds a custom header.
@@ 1887-1892 (lines=6) @@
1884
   * @param string $str String
1885
   * @return string
1886
   */
1887
  function SecureHeader($str) {
1888
    $str = trim($str);
1889
    $str = str_replace("\r", "", $str);
1890
    $str = str_replace("\n", "", $str);
1891
    return $str;
1892
  }
1893
1894
  /**
1895
   * Set the private key file and password to sign the message.