Changeset 84
- Timestamp:
- Sep 11, 2014 3:42:59 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
r82 r84 264 264 $aryNewTree = array(); 265 265 $aryTreeObj = json_decode($data); 266 267 if (is_array($aryTreeObj)) { 266 267 268 /* if (is_array($aryTreeObj)) { 268 269 foreach ($aryTreeObj as $key => $treeObj){; 269 270 if ($treeObj->type == 'directory') { 270 271 //$this->CopySpaceDir($treeObj, $destination, $userId, $aryNewTree); 271 $aryNewTree["DIRECTORIES"] = $treeObj->id;272 $aryNewTree["DIRECTORIES"][] = $treeObj->id; 272 273 } 273 274 else { 274 275 //$aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid); 275 $aryNewTree['FILES'] = $treeObj->id;276 $aryNewTree['FILES'][] = $treeObj->id; 276 277 } 277 278 } 278 } 279 280 $this->aryNewTree = $ aryNewTree;279 } */ 280 281 $this->aryNewTree = $destination; 281 282 } 282 283
Note: See TracChangeset
for help on using the changeset viewer.