Fix ./bin/console

This commit is contained in:
Nicolas Le Goff
2012-10-23 13:28:50 +02:00
parent 6557402d17
commit 907cb89ac8
2 changed files with 2 additions and 7 deletions

View File

@@ -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) {

View File

@@ -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