Skip to content

Commit

Permalink
Archived plugins not proposed from Github anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed Jan 10, 2024
1 parent a465c28 commit 71630d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Plugin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ protected function getGithubMarketReposInfos($repos) {
$infos = array();
$installedPluginsNames = $this->getInstalledPluginsNames();
foreach($repos as $repo) {
if($repo->archived) {
continue;
}
$repoName = $repo->name;
if(!in_array(strtolower($repoName), $installedPluginsNames)) {
$infos[] = array(
Expand Down

0 comments on commit 71630d2

Please sign in to comment.