change getting propel connection

This commit is contained in:
Manuel Raynaud
2013-07-05 12:57:04 +02:00
parent e0416c08f8
commit a2012259bf
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ $thelia = new Thelia\Core\Thelia("dev", true);
$faker = Faker\Factory::create();
$con = \Propel::getConnection(Thelia\Model\ProductPeer::DATABASE_NAME);
$con = \Propel\Runtime\Propel::getConnection(Thelia\Model\Map\ProductTableMap::DATABASE_NAME);
$con->beginTransaction();
try {