diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-26 17:44:13 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-26 17:44:13 +0300 |
| commit | 96299844c2e630a8ea27d86d53aadf98216b9ab8 (patch) | |
| tree | 410d76eb9004c783545ee80129c69096b2040752 /include/common.php | |
| parent | e3b4fbde9066ec58873240ff67c7fb7ce1dfbdd4 (diff) | |
| download | the-epube-96299844c2e630a8ea27d86d53aadf98216b9ab8.tar.gz the-epube-96299844c2e630a8ea27d86d53aadf98216b9ab8.tar.xz | |
drop clean()
Diffstat (limited to 'include/common.php')
| -rw-r--r-- | include/common.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/common.php b/include/common.php index 684d9c6..12753c8 100644 --- a/include/common.php +++ b/include/common.php @@ -32,16 +32,3 @@ return ""; } - - /** - * This is used for user http parameters unless HTML code is actually needed. - */ - function clean(mixed $param): mixed { - if (is_array($param)) { - return array_map("trim", array_map("strip_tags", $param)); - } else if (is_string($param)) { - return trim(strip_tags($param)); - } else { - return $param; - } - } |
