From 6e068b9f87dcda7766abaa2179e75030aab6080c Mon Sep 17 00:00:00 2001
From: Frank Naegler <frank.naegler@typo3.org>
Date: Sat, 25 Mar 2017 22:40:45 +0100
Subject: [PATCH] [FOLLOWUP][TASK] Deprecate RemoveXSS
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch adds the missing logDeprecatedFunction() call.

Resolves: #76164
Releases: master
Change-Id: I70da92799b6fe9345468b600b73ce30273c25836
Reviewed-on: https://review.typo3.org/52161
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/core/Classes/Utility/GeneralUtility.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
index cf3ac5a9725c..f7591a9f1fbd 100644
--- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php
+++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
@@ -255,6 +255,7 @@ class GeneralUtility
      */
     public static function removeXSS($string)
     {
+        static::logDeprecatedFunction();
         return \RemoveXSS::process($string);
     }
 
-- 
GitLab