Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Update CONECTION_WRITE reference
Browse files Browse the repository at this point in the history
CONNECTION_WRITE has been moved under ServiceContainerInterface in propel2
  • Loading branch information
iTechDhaval committed Mar 11, 2016
1 parent c012341 commit 8725441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/ORM/Propel2/Populator.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ protected function getConnection()

$peer = $class::TABLE_MAP;

return Propel::getConnection($peer::DATABASE_NAME, Propel::CONNECTION_WRITE);
return Propel::getConnection($peer::DATABASE_NAME, ServiceContainerInterface::CONNECTION_WRITE);
}
}

0 comments on commit 8725441

Please # to comment.