Browse Source

Removed copy/paste code

Martin Hasoň 13 years ago
parent
commit
1f43f915da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Downloader/FileDownloader.php

+ 1 - 1
src/Composer/Downloader/FileDownloader.php

@@ -125,7 +125,7 @@ class FileDownloader implements DownloaderInterface
      */
     protected function processUrl($url)
     {
-        if (!extension_loaded('openssl') && (0 === strpos($url, 'https:') || 0 === strpos($url, 'http://github.com'))) {
+        if (!extension_loaded('openssl') && 0 === strpos($url, 'https:')) {
             throw new \RuntimeException('You must enable the openssl extension to download files via https');
         }