From bcaff5b276929821c28cf462fcc96d7b2ed0a48e Mon Sep 17 00:00:00 2001 From: Paolo Date: Wed, 7 Sep 2022 10:50:14 +0200 Subject: [PATCH] jobs/ReihungstestJob->remindApplicantsOfPlacementTest now makes use of infocenter as organization unit to send messages --- application/controllers/jobs/ReihungstestJob.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/controllers/jobs/ReihungstestJob.php b/application/controllers/jobs/ReihungstestJob.php index a22df2c8a..446f084b1 100644 --- a/application/controllers/jobs/ReihungstestJob.php +++ b/application/controllers/jobs/ReihungstestJob.php @@ -3,6 +3,8 @@ if (!defined('BASEPATH')) exit('No direct script access allowed'); class ReihungstestJob extends JOB_Controller { + const OU_SENDER_TEST_REMINDER = 'infocenter'; + /** * Constructor */ @@ -433,11 +435,10 @@ class ReihungstestJob extends JOB_Controller $sender_id = $this->config->item('system_person_id'); - $sendMessage = $this->CLMessagesModel->sendExplicitTemplateSenderId - ( + $sendMessage = $this->CLMessagesModel->sendExplicitTemplateSenderId( $sender_id, $applicant->prestudent_id, - $applicant->oe_kurzbz, + self::OU_SENDER_TEST_REMINDER, 'Sancho_RemindApplicantsOfTest', $mailcontent_data_arr );