Plugin: Azure: Fix create/drop of azure_ad_sync_state table on install/uninstall

pull/6061/head
Angel Fernando Quiroz Campos 9 months ago
parent b2e808aacd
commit 1cf3d21d57
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 4
      plugin/azure_active_directory/src/AzureActiveDirectory.php

@ -166,7 +166,7 @@ class AzureActiveDirectory extends Plugin
$em = Database::getManager();
if ($em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
if ($em->getConnection()->getSchemaManager()->tablesExist(['azure_ad_sync_state'])) {
return;
}
@ -182,7 +182,7 @@ class AzureActiveDirectory extends Plugin
{
$em = Database::getManager();
if (!$em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
if (!$em->getConnection()->getSchemaManager()->tablesExist(['azure_ad_sync_state'])) {
return;
}

Loading…
Cancel
Save