Changeset 82


Ignore:
Timestamp:
Sep 11, 2014 2:45:56 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

    r81 r82  
    267267    if (is_array($aryTreeObj)) {
    268268        foreach ($aryTreeObj as $key => $treeObj){;
    269                 /* if ($treeObj->type == 'directory') {
    270                         $this->CopySpaceDir($treeObj, $destination, $userId, $aryNewTree);
     269                if ($treeObj->type == 'directory') {
     270                        //$this->CopySpaceDir($treeObj, $destination, $userId, $aryNewTree);
     271                        $aryNewTree["DIRECTORIES"] = $treeObj->id;
    271272                }
    272273                else {
    273                         $aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid);
    274                 } */
     274                        //$aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid);
     275                        $aryNewTree['FILES'] = $treeObj->id;
     276                }
    275277        }
    276278    }
Note: See TracChangeset for help on using the changeset viewer.