Ignore:
Timestamp:
Sep 15, 2014 2:17:18 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

    r123 r124  
    126126    $fileName = $currentFile->getFileCategory() == $destination ? 'Copy of '.$currentFile->getFileName():$currentFile->getFileName();
    127127   
    128     $tblfile = new Tblspacefile();
     128    return $currentFile;
     129   
     130    /* $tblfile = new Tblspacefile();
    129131    $tblfile->setFileResource($currentFile);
    130132    $tblfile->setFileCategory($destination);
     
    133135    $tblfile->setFileDate(date('Y-m-d H:i:s'));
    134136    $tblfile->save();
    135     return $tblfile->getFileId();
     137    return $tblfile->getFileId(); */
    136138  }
    137139
     
    288290                }
    289291                else {
    290                         $aryNewTree['FILES'] = $this->CopySpaceFile($treeObj->id, $destination, $userid);
     292                        $aryNewTree['FILES'] = var_export($this->CopySpaceFile($treeObj->id, $destination, $userid), TRUE);
    291293                }
    292294        }
Note: See TracChangeset for help on using the changeset viewer.