1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Remove the http protocol from github-protocols, refs #1955

This commit is contained in:
Jordi Boggiano 2013-06-28 19:16:12 +02:00
parent a6e3b23ca5
commit e68d455c5c
3 changed files with 14 additions and 6 deletions

View file

@ -297,8 +297,8 @@ EOT
}
foreach ($vals as $val) {
if (!in_array($val, array('git', 'https', 'http'))) {
return 'valid protocols include: git, https, http';
if (!in_array($val, array('git', 'https'))) {
return 'valid protocols include: git, https';
}
}