The Elearning Community • Duplicate call in object completion
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?

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.