Skip to content
Snippets Groups Projects
Commit d380495e authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

remove unused method CalendarDate::garbageCollect(), fixes #4539

Closes #4539

Merge request studip/studip!3334
parent 09e2bf5a
No related branches found
No related tags found
No related merge requests found
......@@ -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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment