diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-08-28 14:21:52 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-08-28 14:21:52 +0000 |
| commit | d380495e4f39bd86d8ca9df18656bb919aa237d0 (patch) | |
| tree | 0c4efbca6a1de7ea83ed2ff7ac4e0dc53ae7efe1 | |
| parent | 09e2bf5ae199e147b55148f6aff22dba662198df (diff) | |
remove unused method CalendarDate::garbageCollect(), fixes #4539
Closes #4539
Merge request studip/studip!3334
| -rw-r--r-- | lib/models/calendar/CalendarDate.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/models/calendar/CalendarDate.php b/lib/models/calendar/CalendarDate.php index b5dad51..b3608b6 100644 --- a/lib/models/calendar/CalendarDate.php +++ b/lib/models/calendar/CalendarDate.php @@ -94,16 +94,6 @@ class CalendarDate extends SimpleORMap implements PrivacyObject } - public static function garbageCollect() - { - DBManager::get()->query( - 'DELETE `calendar_dates` - FROM `calendar_date_assignments` - LEFT JOIN `calendar_dates` ON (`calendar_dates`.`id` = `calendar_date_assignments`.`calendar_date_id`) - WHERE `range_id` IS NULL' - ); - } - /** * @deprecated */ |
