Plugin: Zoom: Delete webinar even if API doesn't respond - refs BT#20827

pull/4786/head
Angel Fernando Quiroz Campos 2 years ago
parent 435a93b9de
commit 3f5bc960c9
  1. 9
      plugin/zoom/lib/ZoomPlugin.php

@ -515,11 +515,13 @@ class ZoomPlugin extends Plugin
public function deleteWebinar(Webinar $webinar, string $returnURL)
{
$em = Database::getManager();
try {
$webinar->getWebinarSchema()->delete();
} catch (Exception $exception) {
$this->handleException($exception);
}
$em = Database::getManager();
$em->remove($webinar);
$em->flush();
@ -528,9 +530,6 @@ class ZoomPlugin extends Plugin
);
api_location($returnURL);
} catch (Exception $exception) {
$this->handleException($exception);
}
}
/**

Loading…
Cancel
Save