MDL-40061 mod_data: replaced 'fields delete' add_to_log call with an event
This commit is contained in:
@@ -194,9 +194,6 @@ switch ($mode) {
|
||||
$DB->update_record('data', $rec);
|
||||
}
|
||||
|
||||
add_to_log($course->id, 'data', 'fields delete',
|
||||
"field.php?d=$data->id", $field->field->name, $cm->id);
|
||||
|
||||
$displaynoticegood = get_string('fielddeleted', 'data');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user