From 287c5c8d56f237ee5ba8ff6d01e6d7f766bd7de0 Mon Sep 17 00:00:00 2001 From: Adam Bramley Date: Thu, 14 Jul 2016 18:11:51 +1000 Subject: [PATCH] ArchiveTar takes an argument as a constructor, this is causing warnings and is overwritten in the if ($tar) conditional. (#2474) --- src/Command/Config/ExportCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Command/Config/ExportCommand.php b/src/Command/Config/ExportCommand.php index 833af53b1..ef4116607 100644 --- a/src/Command/Config/ExportCommand.php +++ b/src/Command/Config/ExportCommand.php @@ -50,7 +50,6 @@ protected function execute(InputInterface $input, OutputInterface $output) $directory = $input->getOption('directory'); $tar = $input->getOption('tar'); - $archiveTar = new ArchiveTar(); if (!$directory) { $directory = config_get_config_directory(CONFIG_SYNC_DIRECTORY);