From ed833d20ebbd82414074b9bc75196b0f79536fff Mon Sep 17 00:00:00 2001 From: Matheus Garcia Date: Mon, 14 May 2018 15:38:27 -0300 Subject: [PATCH] Ajustes para Moodle 3.4 --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.