Open abias opened 1 year ago
Hi,
i did not read this, when you posted it... but implemented such a function around the same time in another plugin of mine 😅 (although, your implementation is better than mine...)
Has been a long time for me, since last contributing to core, but I'll try this : )
hey @stefanscholz I'm asking myself how the cohorts "...cohorts_is_member()" are handled in the config of the smart menu. Is this worthwile having a look at to be able to adjust this once it is backported?
Hi,
un-assigning myself from this. No time for now.
Cheers, Christian
This is a follow-up to #153:
In the first implementation of the flavours feature, the theme_boost_union_flavours_cohorts_is_member() function was implemented in /flavours/flavourslib.php. However, this function is not really specific to Boost Union, it just fills a gap in Moodle core's cohort library.
It would be worthwhile to transfer this function to Moodle core to /lib/cohortlib.php