mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-53788 user: fix aggressive course cache rebuilding
This commit is contained in:
parent
99a5377bb7
commit
2abe0ac5a9
@ -322,7 +322,7 @@ function profile_delete_field($id) {
|
||||
// but show the field as missing until manually corrected to something else.
|
||||
|
||||
// Need to rebuild course cache to update the info.
|
||||
rebuild_course_cache();
|
||||
rebuild_course_cache(0, true);
|
||||
|
||||
// Try to remove the record from the database.
|
||||
$DB->delete_records('user_info_field', array('id' => $id));
|
||||
|
Loading…
x
Reference in New Issue
Block a user