diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 17:43:51 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 17:47:21 +0100 |
commit | d90aea9e87ffc51b8d073eef070cdc313364e287 (patch) | |
tree | f384d54b4693c3a5e111e3c7b5661c687433c286 /ratatoeskr | |
parent | ba3ee3e41cdaf591f9cb1aeb1f6ff5aa83285d1d (diff) | |
download | ratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.tar.gz ratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.tar.bz2 ratatoeskr-cms-d90aea9e87ffc51b8d073eef070cdc313364e287.zip |
Remove unused function
Diffstat (limited to 'ratatoeskr')
-rw-r--r-- | ratatoeskr/sys/utils.php | 16 |
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. |