Plugin: Zoom: Check if plugin is installed before create JWTClient

pull/5034/head
Angel Fernando Quiroz Campos 2 years ago
parent 5fa4d968cf
commit 719760eb86
  1. 5
      public/plugin/zoom/lib/ZoomPlugin.php

@ -78,7 +78,10 @@ class ZoomPlugin extends Plugin
);
$this->isAdminPlugin = true;
$this->jwtClient = new JWTClient($this->get('apiKey'), $this->get('apiSecret'));
if ($this->isEnabled(true)) {
$this->jwtClient = new JWTClient($this->get('apiKey'), $this->get('apiSecret'));
}
}
/**

Loading…
Cancel
Save