diff --git a/lib/template.php b/lib/template.php
index 75b33d8aace857a7eab4a4214619bf7b948ff162..8fb0133b2891b2498a58fa641439b352e8880071 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