Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
bbf401be
Commit
bbf401be
authored
Jan 27, 2017
by
Marina Glancy
Browse files
MDL-57782 enrol_self: fix check when email needs to be sent
Thanks to Leandro for providing a fix
parent
e7059ec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
enrol/self/lib.php
View file @
bbf401be
...
...
@@ -173,7 +173,7 @@ class enrol_self_plugin extends enrol_plugin {
}
}
// Send welcome message.
if
(
$instance
->
customint4
!=
=
ENROL_DO_NOT_SEND_EMAIL
)
{
if
(
$instance
->
customint4
!=
ENROL_DO_NOT_SEND_EMAIL
)
{
$this
->
email_welcome_message
(
$instance
,
$USER
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment