mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
making Santize entirely static, closes #2706
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6140 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e6cceba47f
commit
b7a0d4b31e
1 changed files with 3 additions and 3 deletions
|
@ -139,9 +139,9 @@ class Sanitize {
|
|||
* @access public
|
||||
*/
|
||||
function stripAll($str) {
|
||||
$str = $this->stripWhitespace($str);
|
||||
$str = $this->stripImages($str);
|
||||
$str = $this->stripScripts($str);
|
||||
$str = Sanitize::stripWhitespace($str);
|
||||
$str = Sanitize::stripImages($str);
|
||||
$str = Sanitize::stripScripts($str);
|
||||
return $str;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue