Skip to content

Commit 1cf3d21

Browse files
committed
Plugin: Azure: Fix create/drop of azure_ad_sync_state table on install/uninstall
1 parent b2e808a commit 1cf3d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/azure_active_directory/src/AzureActiveDirectory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function install()
166166

167167
$em = Database::getManager();
168168

169-
if ($em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
169+
if ($em->getConnection()->getSchemaManager()->tablesExist(['azure_ad_sync_state'])) {
170170
return;
171171
}
172172

@@ -182,7 +182,7 @@ public function uninstall()
182182
{
183183
$em = Database::getManager();
184184

185-
if (!$em->getConnection()->getSchemaManager()->tablesExist(['course_home_notify_notification'])) {
185+
if (!$em->getConnection()->getSchemaManager()->tablesExist(['azure_ad_sync_state'])) {
186186
return;
187187
}
188188

0 commit comments

Comments
 (0)