summaryrefslogtreecommitdiff
path: root/Postman/Extensions/License/PostmanLicenseManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Extensions/License/PostmanLicenseManager.php')
-rw-r--r--Postman/Extensions/License/PostmanLicenseManager.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/Postman/Extensions/License/PostmanLicenseManager.php b/Postman/Extensions/License/PostmanLicenseManager.php
index 280b564..cb10852 100644
--- a/Postman/Extensions/License/PostmanLicenseManager.php
+++ b/Postman/Extensions/License/PostmanLicenseManager.php
@@ -68,11 +68,9 @@ class PostmanLicenseManager {
$this->extensions[$slug]['plugin_dir_and_filename'] = $plugin_dir_and_filename;
$this->extensions[$slug]['license_manager'] = new PostmanLicenseHandler(
$plugin_path, $plugin_data['Name'],
- $plugin_data['Version'], $plugin_data['Author']
+ $plugin_data['Version'], $plugin_data['Author'], null, self::ENDPOINT
);
if ( $this->extensions[$slug]['license_manager']->is_licensed() ) {
- include_once $plugin_path;
-
$this->extensions[$slug]['instance'] = new $class;
}
}
@@ -99,4 +97,4 @@ class PostmanLicenseManager {
public function get_extensions() {
return $this->extensions;
}
-} \ No newline at end of file
+}