Changeset 61 for pro-bachkim-filespace
- Timestamp:
- Aug 21, 2014 5:04:52 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
r60 r61 201 201 $c = new Criteria(); 202 202 $c->add(TblspacefilePeer::FILE_ID, $id); 203 $c->add(TblspacefilePeer::FILE_USER, $userId); 203 204 $tblfile = TblspacefilePeer::doSelectOne($c); 204 205 if ($tblfile) $tblfile->delete(); … … 208 209 if (count($aryDirID) > 0) { 209 210 $c = new Criteria(); 211 $c->add(TblspacecategoryPeer::CAT_USER, $userId); 210 212 $c->add(TblspacecategoryPeer::CAT_ID, $aryDirID, Criteria::IN); 211 213 TblspacecategoryPeer::doDelete($c);
Note: See TracChangeset
for help on using the changeset viewer.