Use propel transactions for StoredFile class
This commit is contained in:
Martin Konecny 2013-04-19 20:40:31 -04:00
parent 243dda60f8
commit 8f6b583fcb

View file

@ -582,8 +582,9 @@ SQL;
return $storedFile;
}
/* TODO: Callers of this function should use a Propel transaction. Start
* by creating $con outside the function with beingTransaction() */
public static function RecallById($p_id=null, $con=null) {
//TODO
if (is_null($con)) {
$con = Propel::getConnection(CcFilesPeer::DATABASE_NAME);