[TASK] Remove deprecated prepareVariableForJavascript from DebugUtility 24/28324/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 12 Mar 2014 19:53:14 +0000 (20:53 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 13 Mar 2014 05:40:25 +0000 (06:40 +0100)
Resolves: #56846
Releases: 6.2
Change-Id: Id769a6fb25cd8c207d2591f6b8f9b95165d04e05
Reviewed-on: https://review.typo3.org/28324
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/core/Classes/Utility/DebugUtility.php

index b3541ae..23c0c31 100644 (file)
@@ -108,19 +108,6 @@ class DebugUtility {
                }
        }
 
                }
        }
 
-       /**
-        * Replaces special characters for the usage inside javascript
-        *
-        * @param string $string
-        * @param boolean $asObject
-        * @return string
-        * @deprecated since 6.0 will be removed with 6.2
-        */
-       static public function prepareVariableForJavascript($string, $asObject) {
-               GeneralUtility::logDeprecatedFunction();
-               return self::getJavaScriptEncoder()->encode($string);
-       }
-
        /**
         * Converts a variable to a string
         *
        /**
         * Converts a variable to a string
         *