Skip to content

Commit

Permalink
remove plugin install source GitHub (replaced by package registry and…
Browse files Browse the repository at this point in the history
… was never fully working)
  • Loading branch information
Glutamat42 committed Dec 16, 2024
1 parent 9133b7d commit 846e0d8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions classes/playbook.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,10 @@ private function load_plugins_to_install(): array {
$pluginsArray = json_decode($jsonContent, true);

return array_map(function ($plugin) {
if (isset($plugin['git_project'])) {
return new install_plugins_model(
$plugin['version'],
$plugin['name'],
$plugin['git_project']
);
}

return new install_plugins_model(
$plugin['version'],
$plugin['name'],
null,
$plugin['package_repo']
);
}, $pluginsArray);
}
Expand Down

0 comments on commit 846e0d8

Please sign in to comment.