Changeset 62 for pro-bachkim-filespace/sourcecode/api.violet.vn/www
- Timestamp:
- Aug 21, 2014 5:18:06 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
r61 r62 208 208 209 209 if (count($aryDirID) > 0) { 210 $c = new Criteria(); 211 $c->add(TblspacecategoryPeer::CAT_USER, $userId); 212 $c->add(TblspacecategoryPeer::CAT_ID, $aryDirID, Criteria::IN); 213 TblspacecategoryPeer::doDelete($c); 210 foreach ($aryDirID as $id) { 211 $c = new Criteria(); 212 $c->add(TblspacecategoryPeer::CAT_USER, $userId); 213 $c->add(TblspacecategoryPeer::CAT_ID, $id); 214 TblspacecategoryPeer::doDelete($c); 215 } 214 216 } 215 217
Note: See TracChangeset
for help on using the changeset viewer.