From efb696eb4f4e0230fed036348804098d5cf09eba Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 14 Mar 2024 15:38:48 +0000
Subject: [PATCH] remove get_config(), fixes #2797

Closes #2797

Merge request studip/studip!1887
---
 lib/functions.php | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/lib/functions.php b/lib/functions.php
index ea9b7b1a2d9..1fad95d5c71 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -504,19 +504,6 @@ function check_and_set_date($tag, $monat, $jahr, $stunde, $minute, &$arr, $field
     return $check;
 }
 
-
-/**
- * gets an entry from the studip configuration table
- *
- * @param string $key the key for the config entry
- * @return string  the value
- * @deprecated since Stud.IP 5.0
- */
-function get_config($key)
-{
-    return Config::get()->$key;
-}
-
 /**
  * reset the order-positions for the lecturers in the passed seminar,
  * starting at the passed position
-- 
GitLab