Skip to content

Commit

Permalink
MDL-79586 core: Resolve regression of disabled matrix plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
safatshahin committed Oct 5, 2023
1 parent 1724362 commit 73f3422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/classes/plugininfo/communication.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public static function get_enabled_plugins(): ?array {
// Filter to return only enabled plugins.
$enabled = [];
foreach ($plugins as $plugin) {
if (processor::is_provider_available('communication_' . $plugin)) {
$disabled = get_config('communication_' . $plugin, 'disabled');
if (empty($disabled)) {
$enabled[$plugin] = $plugin;
}
}
Expand Down

0 comments on commit 73f3422

Please sign in to comment.