diff --git a/lib.php b/lib.php index 4b70e89..3d01528 100644 --- a/lib.php +++ b/lib.php @@ -424,7 +424,7 @@ class enrol_ilbeadtutorado_plugin extends enrol_plugin { if ($rusers) { $contact = reset($rusers); } else { - $contact = generate_email_supportuser(); + $contact = core_user::get_support_user(); } // Directly emailing welcome message rather than using messaging.