Browse Source

remove needless line of code

as pointed out by maurymmarques, in pull request 126
AD7six 15 years ago
parent
commit
26aeb11550
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/Cake/Utility/Sanitize.php

+ 0 - 2
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);
 			}