-
Sub-task
-
Resolution: Fixed
-
Major
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
MDL-42583-master -
- Run unit tests under notes/tests/events_test.php
- Create, update, delete a note and make sure no errors are generated
-
BACKEND Sprint 6
notes are a bloody mess, anyway we should always send full record snapshots, note_load() is wrong there...
if (is_int($note)) {
|
$note = note_load($note);
|
}
|
$event->add_record_snapshot('post', $note);
|