From 338fce3943dd000284e3792b72cf1de628dc12d0 Mon Sep 17 00:00:00 2001 From: jeph864 <jephte.abijuru@minervis.com> Date: Wed, 07 Jun 2023 21:45:55 +0000 Subject: [PATCH] user sync cron jobs --- classes/class.ilAzureADCronPlugin.php | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/classes/class.ilAzureADCronPlugin.php b/classes/class.ilAzureADCronPlugin.php index f3b391f..4bc518f 100644 --- a/classes/class.ilAzureADCronPlugin.php +++ b/classes/class.ilAzureADCronPlugin.php @@ -1,6 +1,7 @@ <?php require_once "Customizing/global/plugins/Services/Authentication/AuthenticationHook/AzureAD/classes/class.ilAzureADCron.php"; +require_once "Customizing/global/plugins/Services/Authentication/AuthenticationHook/AzureAD/classes/class.ilAzureADCronSyncUserData.php"; /** * Class ilAzureADCronPlugin * @@ -58,7 +59,8 @@ switch ($a_job_id) { case ilAzureADCron::CRON_JOB_ID: return new ilAzureADCron(); - + case ilAzureADCronSyncUserData::CRON_JOB_ID: + return new ilAzureADCronSyncUserData(); default: return null; } @@ -71,7 +73,8 @@ public function getCronJobInstances() : array { return [ - new ilAzureADCron() + new ilAzureADCron(), + new ilAzureADCronSyncUserData() ]; } } -- Gitblit v1.8.0