From f11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 19 Jun 2012 19:29:43 +0200 Subject: [PATCH] removing sanitizeHTML() function from template.php since I moved it to util.php to make it more generic. --- lib/template.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/template.php b/lib/template.php index 75b33d8aace..8fb0133b289 100644 --- a/lib/template.php +++ b/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 -- 2.39.5