Page 1 of 1

Duplicate call in object completion

Posted: Wed Apr 14, 2021 9:14 am
by alfa24
Hi all, this is for developers (a place where discussing technical topics, a git public repo where pull-request/commit proposals would be much appreciated).
I found that the completion of the course when a learning object is set as Terminator, is called twice:

1) in Track_Object::_setCourseCompleted (where it should be)
2) in organization_itemdone function (module organization, /appLms/modules/organization/organization.php)

The second can be safely removed. What do you think?