diff --git a/bin/setup b/bin/setup index 501e45d386..e58135ad5b 100755 --- a/bin/setup +++ b/bin/setup @@ -16,13 +16,9 @@ namespace KonsoleKommander; * @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link www.phraseanet.com */ -use Alchemy\Phrasea\Core\Configuration; use Alchemy\Phrasea\Core\Version; use Alchemy\Phrasea\Command\UpgradeDBDatas; -use Alchemy\Phrasea\Command\RescanTechnicalDatas; -use Alchemy\Phrasea\Command\BuildMissingSubdefs; -use Alchemy\Phrasea\Command\RecordAdd; -use Alchemy\Phrasea\Command\CreateCollection; +use Alchemy\Phrasea\Command\Setup\Install; use Alchemy\Phrasea\CLI; require_once dirname(__FILE__) . '/../lib/bootstrap.php'; @@ -64,7 +60,7 @@ try { } $app->command(new \module_console_systemConfigCheck('check:system')); - $app->command(new \Alchemy\Phrasea\Command\Setup\Install('system:install')); + $app->command(new Install('system:install')); $result_code = is_int($app->run()) ? : 1; } catch (\Exception $e) { diff --git a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php index f7c68f708d..3ec98cadcb 100644 --- a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php +++ b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php @@ -16,7 +16,6 @@ use Alchemy\Phrasea\Command\Command; use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; /** * Rebuild only missing subdefs