From 2a505d1b3015820c26ef8d8672a0f103110f193e Mon Sep 17 00:00:00 2001 From: l3l0 Date: Tue, 20 Nov 2012 10:15:40 +0100 Subject: [PATCH] Fixed definition of ftp adapter. --- DependencyInjection/Factory/FtpAdapterFactory.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/DependencyInjection/Factory/FtpAdapterFactory.php b/DependencyInjection/Factory/FtpAdapterFactory.php index 9501280..f59b18d 100644 --- a/DependencyInjection/Factory/FtpAdapterFactory.php +++ b/DependencyInjection/Factory/FtpAdapterFactory.php @@ -21,12 +21,7 @@ class FtpAdapterFactory implements AdapterFactoryInterface ->setDefinition($id, new DefinitionDecorator('knp_gaufrette.adapter.ftp')) ->addArgument($config['directory']) ->addArgument($config['host']) - ->addArgument($config['username']) - ->addArgument($config['password']) - ->addArgument($config['port']) - ->addArgument($config['passive']) - ->addArgument($config['create']) - ->addArgument($config['mode']) + ->addArgument($config) ; }