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. 3
      public/plugin/zoom/lib/ZoomPlugin.php

@ -78,8 +78,11 @@ class ZoomPlugin extends Plugin
); );
$this->isAdminPlugin = true; $this->isAdminPlugin = true;
if ($this->isEnabled(true)) {
$this->jwtClient = new JWTClient($this->get('apiKey'), $this->get('apiSecret')); $this->jwtClient = new JWTClient($this->get('apiKey'), $this->get('apiSecret'));
} }
}
/** /**
* Caches and returns an instance of this class. * Caches and returns an instance of this class.

Loading…
Cancel
Save