From 26aeb1155063f9e4169dc5820d18fe159c066989 Mon Sep 17 00:00:00 2001 From: AD7six Date: Wed, 22 Jun 2011 15:39:33 +0200 Subject: [PATCH] remove needless line of code as pointed out by maurymmarques, in pull request 126 --- lib/Cake/Utility/Sanitize.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Cake/Utility/Sanitize.php b/lib/Cake/Utility/Sanitize.php index 0b064792d..e2d5b75aa 100644 --- a/lib/Cake/Utility/Sanitize.php +++ b/lib/Cake/Utility/Sanitize.php @@ -243,8 +243,6 @@ class Sanitize { $data = str_replace("\r", "", $data); } - $data = str_replace("'", "'", str_replace("!", "!", $data)); - if ($options['unicode']) { $data = preg_replace("/&#([0-9]+);/s", "&#\\1;", $data); }