Open AraPraxis opened 1 year ago
I've added a Moodle Tracker issue, as instance_created() in blocks can be used to fixed the multiple added instances, but the method runs after an instance is created, which is not a fully optimized way of removing it.
Paul Holden has answered the Tracker issue - It was close to a duplicate of another issue which was closed as "not a bug", but he will address it as a bug to his team
https://github.com/donhinkelman/moodle-block_sharing_cart/issues/86
If a lot of instances is loaded, then it's difficult to load a course. And even if allow_multiple_instances is false, Moodle still has it's way to load more than one instance.