Skip to content

Commit

Permalink
Linting: minor linting
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderJacob committed Oct 9, 2024
1 parent 2004e43 commit 9c14bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/pluginsInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function check_plugin_compability($gitzipurl, $type, $execute = false) {
$a->installedversion = (int)$installedversion ?? '';
$a->componentversion = (int)$plugin['version'] ?? '';
if ($a->installedversion == 0) {
if ($execute ) {
if ($execute) {
$this->feedback[$type][$plugin['component']]['success'][] =
get_string('pluginnotinstalled', 'tool_wbinstaller', $plugin['component']);
return $plugin['component'];
Expand Down

0 comments on commit 9c14bea

Please sign in to comment.