Changeset 58 for pro-bachkim-filespace


Ignore:
Timestamp:
Aug 21, 2014 4:03:33 PM (11 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php

    r57 r58  
    197197        }
    198198       
    199         var_dump($aryDirID);
     199        if (count($aryFileID) > 0) {
     200                $c = new Criteria();
     201                foreach ($aryFileID as $id) {
     202                        $c->add(TblspacefilePeer::FILE_ID, $id);
     203                }
     204                TblspacefilePeer::doDelete($c);
     205        }       
     206       
     207        if (count($aryDirID) > 0) {
     208                $c = new Criteria();
     209                foreach ($aryDirID as $id) {
     210                        $c->add(TblspacecategoryPeer::CAT_ID, $id);
     211                }
     212                TblspacecategoryPeer::doDelete($c);
     213        }
    200214       
    201215        $this->errMsg = '';
Note: See TracChangeset for help on using the changeset viewer.