Skip to content

Commit e4da639

Browse files
committed
Removed PHP language check because it's unreliable for detecting PHP repositories.
1 parent b727956 commit e4da639

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_plugins/index_controller.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ def sort_repositories(a, b)
6060
end
6161

6262
def filter_repository(repository)
63-
return false unless repository.language == 'PHP'
64-
6563
return true unless repository.description =~ /(\[(?:OLD|DEPRECATED)\])/
64+
6665
print_repo_error repository, "Tagged as: #{Regexp.last_match(1)}."
6766
end
6867

0 commit comments

Comments
 (0)