diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:28:15 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-08 08:56:47 +0100 |
commit | 4b293dffe56ac452ed3bdadb3dd094e667ecfb2d (patch) | |
tree | 98aca3c33393a4edd417d1c61484673c9a587660 /lib/public/util.php | |
parent | 70c228a7cc31c6193bdd1c2f18a75dffe08785b8 (diff) | |
download | nextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.tar.gz nextcloud-server-4b293dffe56ac452ed3bdadb3dd094e667ecfb2d.zip |
Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTML
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 110028368d0..4e783b764ed 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -497,11 +497,11 @@ class Util { * string or array of strings before displaying it on a web page. * * @param string|array $value - * @return string|array an array of sanitized strings or a single sinitized string, depends on the input parameter. + * @return string|array an array of sanitized strings or a single sanitized string, depends on the input parameter. * @since 4.5.0 */ - public static function sanitizeHTML( $value ) { - return(\OC_Util::sanitizeHTML($value)); + public static function sanitizeHTML($value) { + return \OC_Util::sanitizeHTML($value); } /** |