From 3747906a6b28926e23eff5fb9aac3a4cfaa954fc Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Thu, 14 Mar 2024 15:41:30 +0000 Subject: [PATCH] remove smile() function, fixes #3158 Closes #3158 Merge request studip/studip!2136 --- lib/visual.inc.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/visual.inc.php b/lib/visual.inc.php index b9388ac42cf..91b3342c53d 100644 --- a/lib/visual.inc.php +++ b/lib/visual.inc.php @@ -330,24 +330,6 @@ function idna_link($link, $mail = false) { return $link; } - -/** - * Create smileys - * - * This functions converts the smiley codes notation (:name:) as well as the - * available short notation. - * - * @access public - * @param string $text The text to convert - * @return string Converted text - * @deprecated and useless since Stud.IP 5.4 - */ -function smile($text = '') { - trigger_error('Smileys are no longer supported.', E_USER_DEPRECATED); - return $text; -} - - /** * create symbols from the shorts * -- GitLab