mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
removing sanitizeHTML() function from template.php since I moved it to util.php
to make it more generic.
This commit is contained in:
parent
4b6f6291c5
commit
f11e4d7cd6
1 changed files with 0 additions and 11 deletions
|
|
@ -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…
Reference in a new issue