[TASK] Remove unused rawurlencodeAndRemoveSiteUrl 86/49786/2
authorTomita Militaru <militarutomita@gmail.com>
Fri, 2 Sep 2016 17:14:41 +0000 (19:14 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 2 Sep 2016 21:22:33 +0000 (23:22 +0200)
Remove unused function rawurlencodeAndRemoveSiteUrl

Resolves: #77778
Releases: master
Change-Id: I0a781a43d2c98ba288efaeb99c4c8fc3825d1174
Reviewed-on: https://review.typo3.org/49786
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Marco Huber <mail@marco-huber.de>
Tested-by: Marco Huber <mail@marco-huber.de>
Reviewed-by: Markus Gehrig <markus.gehrig96@gmail.com>
Tested-by: Markus Gehrig <markus.gehrig96@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Resources/Public/JavaScript/backend.js

index 8b8f5c1..630da32 100644 (file)
@@ -78,13 +78,6 @@ function rawurlencode(str) {
        return output;
 }
 
-/**
- * Function to similar to PHPs  rawurlencode() which removes TYPO3_SITE_URL;
- */
-function rawurlencodeAndRemoveSiteUrl(str)     {       //
-       var siteUrl = TYPO3.configuration.siteUrl;
-       return rawurlencode(str_replace(siteUrl, "", str));
-}
 
 /**
  * String-replace function