summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-19 19:29:43 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-19 19:29:43 +0200
commitf11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099 (patch)
treee119e8e45322fa3f59c25bce74221c7d73873f45 /lib/template.php
parent4b6f6291c524648ffaa77683d77b486bb467b7e8 (diff)
downloadnextcloud-server-f11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099.tar.gz
nextcloud-server-f11e4d7cd6c5cae9a0be52dff0bb2f32e20e7099.zip
removing sanitizeHTML() function from template.php since I moved it to util.php
to make it more generic.
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php11
1 files changed, 0 insertions, 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