MDL-40061 mod_data: replaced 'fields update' add_to_log call with an event

This commit is contained in:
Mark Nelson
2014-02-14 18:12:41 -08:00
parent e0d7ed6dae
commit d1ec55570d
5 changed files with 144 additions and 3 deletions
-3
View File
@@ -160,9 +160,6 @@ switch ($mode) {
/// Update the templates.
data_replace_field_in_templates($data, $oldfieldname, $field->field->name);
add_to_log($course->id, 'data', 'fields update',
"field.php?d=$data->id&mode=display&fid=$fid", $fid, $cm->id);
$displaynoticegood = get_string('fieldupdated','data');
}
}