From f2f70529462f10f08d7a0ca57bfb50c80e645fa4 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 14 Mar 2024 17:02:49 +0000
Subject: [PATCH] remove transformBeforeSave() function, fixes #3159

Closes #3159

Merge request studip/studip!2137
---
 lib/visual.inc.php | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lib/visual.inc.php b/lib/visual.inc.php
index 91b3342c53d..2ddcd466a58 100644
--- a/lib/visual.inc.php
+++ b/lib/visual.inc.php
@@ -155,17 +155,6 @@ function blubberReady($text, $trim=TRUE) {
     return $formatted !== '' ? sprintf(FORMATTED_CONTENT_WRAPPER, $formatted) : '';
 }
 
-/**
- * Obsolete function for compatibility, returns text unchanged.
- *
- * @param  string $text  Marked-up text.
- * @return string        Marked-up text.
- * @deprecated since Stud.IP 5.3
- */
-function transformBeforeSave($text){
-    return $text;
-}
-
 ////////////////////////////////////////////////////////////////////////////////
 
 /**
-- 
GitLab