]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Several fixes for template engine, JavaScripts, etc.
[mailer.git] / inc / wrapper-functions.php
index cd1eddf236e914c1e55ca1d592837e7b78aa9081..64ac4a9660af8fd81e9d710b354aabeb447ae24e 100644 (file)
@@ -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