Changeset 60 for pro-bachkim-filespace
- Timestamp:
- Aug 21, 2014 5:03:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php
r59 r60 198 198 199 199 if (count($aryFileID) > 0) { 200 $c = new Criteria(); 201 $c->add(TblspacefilePeer::FILE_ID, $aryFileID, Criteria::IN); 202 TblspacefilePeer::doDelete($c); 200 foreach ($aryFileID as $id) { 201 $c = new Criteria(); 202 $c->add(TblspacefilePeer::FILE_ID, $id); 203 $tblfile = TblspacefilePeer::doSelectOne($c); 204 if ($tblfile) $tblfile->delete(); 205 } 203 206 } 204 207
Note: See TracChangeset
for help on using the changeset viewer.