From 6a3a61888886b093b07ed8213c03800f72ecacdd Mon Sep 17 00:00:00 2001 From: Laurent David Date: Mon, 8 Apr 2024 12:34:17 +0200 Subject: [PATCH] Fix issue with deprecated language string (4.4) --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 1ad8852..ae01674 100644 --- a/index.php +++ b/index.php @@ -195,11 +195,11 @@ ob_end_flush(); ob_implicit_flush(true); echo '

' . get_string('testing', 'local_' . $pluginname) . '

'; - echo '

' . get_string('from') . ' : ' . $fromemail->email . '
+ echo '

' . get_string('fromsender') . ' : ' . $fromemail->email . '
🡇             🡇             🡇
' . get_string('server', 'local_' . $pluginname, (empty($CFG->smtphosts) ? 'PHPMailer' : $CFG->smtphosts)) . '
🡇             🡇             🡇
- ' . get_string('to') . ' : ' . $toemail->email . '

'; + ' . get_string('torecipient') . ' : ' . $toemail->email . '

'; ob_implicit_flush(false); // Manage Moodle SMTP debugging display.