Changeset 61


Ignore:
Timestamp:
Aug 21, 2014 5:04:52 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

    r60 r61  
    201201                        $c = new Criteria();
    202202                        $c->add(TblspacefilePeer::FILE_ID, $id);
     203                        $c->add(TblspacefilePeer::FILE_USER, $userId);
    203204                        $tblfile = TblspacefilePeer::doSelectOne($c);
    204205                        if ($tblfile) $tblfile->delete();
     
    208209        if (count($aryDirID) > 0) {
    209210                $c = new Criteria();
     211                $c->add(TblspacecategoryPeer::CAT_USER, $userId);
    210212                $c->add(TblspacecategoryPeer::CAT_ID, $aryDirID, Criteria::IN);
    211213                TblspacecategoryPeer::doDelete($c);
Note: See TracChangeset for help on using the changeset viewer.