mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
MDL-31117 delete obsolete TODO
This TODO was added when we were still using moodledata folder for group images, it is not relevant any more because group images are in new file API which supports DB transaction rollbacks.
This commit is contained in:
parent
bbb2879217
commit
3a652da73a
@ -267,7 +267,6 @@ class core_group_external extends external_api {
|
||||
|
||||
$transaction = $DB->start_delegated_transaction();
|
||||
|
||||
// TODO: this is problematic because the DB rollback does not handle deleting of group images!
|
||||
foreach ($params['groupids'] as $groupid) {
|
||||
// validate params
|
||||
$groupid = validate_param($groupid, PARAM_INTEGER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user