aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-11-08 17:43:51 +0100
committerLaria Carolin Chabowski <laria@laria.me>2020-11-08 17:47:21 +0100
commitd90aea9e87ffc51b8d073eef070cdc313364e287 (patch)
treef384d54b4693c3a5e111e3c7b5661c687433c286
parentba3ee3e41cdaf591f9cb1aeb1f6ff5aa83285d1d (diff)
downloadratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.tar.gz
ratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.tar.bz2
ratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.zip
Remove unused function
-rw-r--r--ratatoeskr/sys/utils.php16
1 files changed, 0 insertions, 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.