CC-5061:
Use propel transactions for StoredFile class
This commit is contained in:
parent
243dda60f8
commit
8f6b583fcb
1 changed files with 2 additions and 1 deletions
|
@ -582,8 +582,9 @@ SQL;
|
||||||
return $storedFile;
|
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) {
|
public static function RecallById($p_id=null, $con=null) {
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
if (is_null($con)) {
|
if (is_null($con)) {
|
||||||
$con = Propel::getConnection(CcFilesPeer::DATABASE_NAME);
|
$con = Propel::getConnection(CcFilesPeer::DATABASE_NAME);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue