X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=64ac4a9660af8fd81e9d710b354aabeb447ae24e;hp=cd1eddf236e914c1e55ca1d592837e7b78aa9081;hb=735545e765720a954a345bc068239e2fffa0dbe1;hpb=a25637b93148d07ef65b9e8978841c4988dac669 diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index cd1eddf236..64ac4a9660 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -137,21 +137,6 @@ function decodeString ($str, $decompress = true) { return $str; } -// Smartly adds slashes -function smartAddSlashes ($unquoted) { - // Do we have cache? - if (!isset($GLOBALS['smart_addslashes'][$unquoted])) { - // Remove slashe - $unquoted = str_replace("\\", '', $unquoted); - - // Put it in cache and add slashes - $GLOBALS['smart_addslashes'][$unquoted] = addslashes($unquoted); - } // END - if - - // Return result - return $GLOBALS['smart_addslashes'][$unquoted]; -} - // Decode entities in a nicer way function decodeEntities ($str) { // Decode the entities to UTF-8 now