removing sanitizeHTML() function from template.php since I moved it to util.php

to make it more generic.
remotes/origin/stable45
Bjoern Schiessle 13 years ago
parent 4b6f6291c5
commit f11e4d7cd6
  1. 11
      lib/template.php

@ -313,17 +313,6 @@ class OC_Template{
return true;
}
/**
* @brief Internaly used to sanitze HTML
*
* This function is internally used to sanitize HTML.
*/
private static function sanitizeHTML( &$value ){
$value = htmlentities( $value , ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4
return $value;
}
/**
* @brief Appends a variable
* @param $key key

Loading…
Cancel
Save