Remove code

This commit is contained in:
Michael RICOIS 2016-11-02 15:29:57 +01:00
parent 63e6380407
commit fddb54f246
2 changed files with 0 additions and 6 deletions

View File

@ -56,10 +56,6 @@ if ($displayUsage) {
}
$c = new Zend_Config($application->getOptions());
Zend_Registry::set('config', $c);
$db = Zend_Db::factory($c->profil->db->metier);
Zend_Db_Table_Abstract::setDefaultAdapter($db);
// Database
$config = new \Doctrine\DBAL\Configuration();
@ -74,7 +70,6 @@ $connectionParams = array(
try {
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
Zend_Registry::set('doctrine', $conn);
} catch (\Doctrine\DBAL\DBALException $e) {
echo "Connection Database impossible.\n";
exit;

View File

@ -54,7 +54,6 @@ $connectionParams = array(
try {
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
Zend_Registry::set('doctrine', $conn);
} catch (\Doctrine\DBAL\DBALException $e) {
echo "Connection Database impossible.\n";
exit;