From fb8d589056a67ae7c65894ba7472a457ce916b07 Mon Sep 17 00:00:00 2001 From: jeph864 <jephte.abijuru@minervis.com> Date: Tue, 07 Feb 2023 08:56:55 +0000 Subject: [PATCH] Sync users with AD --- plugin.php | 2 +- classes/class.ilAzureADCronPlugin.php | 6 +++++- CHANGELOG.md | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58c53a4..3834a85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,6 @@ ## [1.0.0] - First version + +## [1.0.1] +- Adds regular user synchromisation \ No newline at end of file diff --git a/classes/class.ilAzureADCronPlugin.php b/classes/class.ilAzureADCronPlugin.php index f3b391f..9b181d2 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,6 +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 +74,8 @@ public function getCronJobInstances() : array { return [ - new ilAzureADCron() + new ilAzureADCron(), + new ilAzureADCronSyncUserData() ]; } } diff --git a/plugin.php b/plugin.php index 8d61146..2bbdcd6 100644 --- a/plugin.php +++ b/plugin.php @@ -1,7 +1,7 @@ <?php $id = "azureadcron"; -$version = "1.0.0"; +$version = "1.0.1"; $ilias_min_version = "5.4.0"; $ilias_max_version = "7.999"; $responsible = "Jephte Abijuru"; -- Gitblit v1.8.0