Is $CFG->sendcoursewelcomemessage=0; still available?

Is $CFG->sendcoursewelcomemessage=0; still available?

by Prem Seeplak -
Number of replies: 1

I'm using Moodle 3.10.2+ and trying to disable the welcome message for a course. And I discovered a forum about it that was created in 2012.

I would like to know if this $CFG->sendcoursewelcomemessage=0; command still works for the Moodle 3.10.2+ version or not.

Or any ideas? Please advise.

Thanks in advance.

Average of ratings: -
In reply to Prem Seeplak

Re: Is $CFG->sendcoursewelcomemessage=0; still available?

by David Mudrák -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

It is not a global CFG setting but a plugin-scope setting now. There is an administration UI for this setting with all the options. Please find it at Administration > Plugins > Enrolments > Self enrolment > Send course welcome message

From what I can see in the code, setting it in the config.php via the line you mention will have no effect.

Average of ratings: Useful (1)