From d90aea9e87ffc51b8d073eef070cdc313364e287 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 8 Nov 2020 17:43:51 +0100 Subject: Remove unused function --- ratatoeskr/sys/utils.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ratatoeskr/sys/utils.php b/ratatoeskr/sys/utils.php index 8a848eb..7092f4d 100644 --- a/ratatoeskr/sys/utils.php +++ b/ratatoeskr/sys/utils.php @@ -22,9 +22,6 @@ * * An array with $val $n-times repeated. */ - -use r7r\cms\sys\Esc; - function array_repeat($val, $n) { $rv = []; @@ -42,19 +39,6 @@ function intcmp($a, $b) { return ($a == $b) ? 0 : (($a < $b) ? -1 : 1); } - -/** - * Escape HTML (shorter than htmlspecialchars) - * - * @param mixed $text Input text - * @return string HTML - * @deprecated Use {@see Esc::esc()} instead. - */ -function htmlesc($text): string -{ - return Esc::esc($text); -} - /* * Function: delete_directory * Delete a directory and all of its content. -- cgit v1.2.3-70-g09d2