Skip to content

Commit

Permalink
Fixed issue: beforeActivate plugin event doesn't happen (#2406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed May 6, 2022
1 parent 8d8420a commit fb80d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/PluginManagerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function activate()
}

// Load the plugin:
App()->getPluginManager()->loadPlugin($oPlugin->name, $pluginId, false);
App()->getPluginManager()->loadPlugin($oPlugin->name, $pluginId);
$result = App()->getPluginManager()->dispatchEvent(
new PluginEvent('beforeActivate', $this),
$oPlugin->name
Expand Down

0 comments on commit fb80d17

Please sign in to comment.