]> source.dussan.org Git - nextcloud-server.git/commitdiff
removing sanitizeHTML() function from template.php since I moved it to util.php
authorBjoern Schiessle <schiessle@owncloud.com>
Tue, 19 Jun 2012 17:29:43 +0000 (19:29 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Tue, 19 Jun 2012 17:29:43 +0000 (19:29 +0200)
to make it more generic.

lib/template.php

index 75b33d8aace857a7eab4a4214619bf7b948ff162..8fb0133b2891b2498a58fa641439b352e8880071 100644 (file)
@@ -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