CC-5061:
Use propel transactions for StoredFile class
This commit is contained in:
parent
243dda60f8
commit
8f6b583fcb
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user