Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AltamashShaikh committed Sep 10, 2024
1 parent 6453547 commit a4cedc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/Marketplace/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ private function getPaidPluginsToInstallAtOnceData(array $paidPlugins): array
$paidPluginsToInstallAtOnce = [];
if (SettingsPiwik::isAutoUpdatePossible()) {
foreach ($paidPlugins as $paidPlugin) {
if ($this->canPluginBeInstalled($paidPlugin)
if (
$this->canPluginBeInstalled($paidPlugin)
|| ($this->pluginManager->isPluginInstalled($paidPlugin['name'], true)
&& !$this->pluginManager->isPluginActivated($paidPlugin['name']))
) {
Expand Down

0 comments on commit a4cedc7

Please sign in to comment.