]> source.dussan.org Git - nextcloud-server.git/commitdiff
4.0.7
authorFrank Karlitschek <frank@owncloud.org>
Tue, 14 Aug 2012 18:07:58 +0000 (20:07 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 13:00:53 +0000 (15:00 +0200)
and remove some ^M while at it

lib/util.php

index b7ceee91b56d14701c671ae62ee5e2d702eea69e..010aa1f7f09b6437b65a890c3907b13dbd4c29c3 100644 (file)
@@ -83,7 +83,7 @@ class OC_Util {
         * @return array
         */
        public static function getVersion(){
-               return array(4,00,6);
+               return array(4,00,7);
        }
 
        /**
@@ -91,7 +91,7 @@ class OC_Util {
         * @return string
         */
        public static function getVersionString(){
-               return '4.0.6';
+               return '4.0.7';
        }
 
         /**
@@ -408,18 +408,18 @@ class OC_Util {
                }
        }
        
-       /**\r
-        * @brief Public function to sanitize HTML\r
-        *\r
-        * This function is used to sanitize HTML and should be applied on any string or array of strings before displaying it on a web page.\r
-        *\r
-        * @param string or array of strings\r
-        * @return array with sanitized strings or a single sinitized string, depends on the input parameter.\r
-        */\r
-       public static function sanitizeHTML( &$value ){\r
-               if (is_array($value) || is_object($value)) array_walk_recursive($value,'OC_Util::sanitizeHTML');\r
-               else $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4\r
-               return $value;\r
+       /**
+        * @brief Public function to sanitize HTML
+        *
+        * This function is used to sanitize HTML and should be applied on any string or array of strings before displaying it on a web page.
+        *
+        * @param string or array of strings
+        * @return array with sanitized strings or a single sinitized string, depends on the input parameter.
+        */
+       public static function sanitizeHTML( &$value ){
+               if (is_array($value) || is_object($value)) array_walk_recursive($value,'OC_Util::sanitizeHTML');
+               else $value = htmlentities($value, ENT_QUOTES, 'UTF-8'); //Specify encoding for PHP<5.4
+               return $value;
        }