From: Philipp Holzer Date: Tue, 22 Oct 2019 22:55:14 +0000 (+0200) Subject: Remove unused function qp() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c3191675745b662fd0ff16ab77b32e99933ab68;p=friendica.git Remove unused function qp() --- diff --git a/include/text.php b/include/text.php index 13300c1e10..e4393b09ca 100644 --- a/include/text.php +++ b/include/text.php @@ -17,16 +17,6 @@ function activity_match($haystack,$needle) { return (($haystack === $needle) || ((basename($needle) === $haystack) && strstr($needle, NAMESPACE_ACTIVITY_SCHEMA))); } -/** - * quick and dirty quoted_printable encoding - * - * @param string $s - * @return string - */ -function qp($s) { - return str_replace("%", "=", rawurlencode($s)); -} - /** * @brief Given a text string, convert from bbcode to html and add smilie icons. *