From 7adf8a42ee401608f39070c5c642bdaed9e08e4b Mon Sep 17 00:00:00 2001
From: David Siegfried <david.siegfried@uni-vechta.de>
Date: Tue, 19 Mar 2024 14:31:17 +0000
Subject: [PATCH] fixes #3845

Closes #3845

Merge request studip/studip!2712
---
 lib/models/Statusgruppen.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/models/Statusgruppen.php b/lib/models/Statusgruppen.php
index e0d2575595e..94c8847261d 100644
--- a/lib/models/Statusgruppen.php
+++ b/lib/models/Statusgruppen.php
@@ -708,7 +708,7 @@ class Statusgruppen extends SimpleORMap implements PrivacyObject
      * This callback is called after deleting a User.
      * It removes courseware task entries that are associated with the group.
      */
-    public function cbRemoveTask()
+    public function cbRemoveTasks()
     {
         \Courseware\Task::deleteBySQL(
             '`solver_id` = ? AND `solver_type`= "group"',
-- 
GitLab