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:
gwoo 2007-12-11 02:42:28 +00:00
parent e6cceba47f
commit b7a0d4b31e

View file

@ -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;
}
/**