From 0a2d7106fafb2d03dcef6f7d50ad8bc7d481b28c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 28 Aug 2010 03:29:01 +0200 Subject: [PATCH] fixed doctrine cli (git submodule update has not helped) --- backend/bin/doctrine | 4 ++-- backend/bin/doctrine.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/bin/doctrine b/backend/bin/doctrine index 92f323f..cec890f 100755 --- a/backend/bin/doctrine +++ b/backend/bin/doctrine @@ -1,4 +1,4 @@ #!/usr/bin/env php \ No newline at end of file diff --git a/backend/bin/doctrine.php b/backend/bin/doctrine.php index 6334f9a..b906d45 100644 --- a/backend/bin/doctrine.php +++ b/backend/bin/doctrine.php @@ -47,12 +47,12 @@ Util\Configuration::load(BACKEND_DIR . '/volkszaehler.conf'); $em = Volkszaehler\Dispatcher::createEntityManager(); -$helperSet = new \Symfony\Components\Console\Helper\HelperSet(array( +$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array( 'db' => new \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($em->getConnection()), 'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em) )); -$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION); +$cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION); $cli->setCatchExceptions(TRUE); $cli->setHelperSet($helperSet); $cli->addCommands(array(