cnw-co / moodle-local_cnw_userprofile_cohorts

0 stars 0 forks source link

very invasive when smart cohort plugin not installed #5

Open danmarsden opened 4 years ago

danmarsden commented 4 years ago

When the smart cohort plugin is not installed, it displays the following message to all users on every users profile.

Assigned cohorts by Smart Cohort Smart Cohort plugin is not installed You can check the plugin's official page: https://moodle.org/plugins/local_cnw_smartcohort

And this appears to all users - not just the admin user -t he site admin/server admin are the only users that can take action on this so it really shouldn't be displayed on user profile pages at all IMO.

danmarsden commented 4 years ago

the other option is to force the server-admin to install both plugins by adding a dependeny in the version.php file. more information on dependencies is in here: https://docs.moodle.org/dev/version.php