1
0
Fork 0

Merge pull request #2195 from bendavies/archive-manager-authentication

ArchiveManager IO configuration
pull/2201/head
Jordi Boggiano 2013-08-20 07:27:53 -07:00
commit 6f8b257997
1 changed files with 3 additions and 1 deletions

View File

@ -342,7 +342,9 @@ class Factory
public function createArchiveManager(Config $config, Downloader\DownloadManager $dm = null)
{
if (null === $dm) {
$dm = $this->createDownloadManager(new IO\NullIO(), $config);
$io = new IO\NullIO();
$io->loadConfiguration($config);
$dm = $this->createDownloadManager($io, $config);
}
$am = new Archiver\ArchiveManager($dm);