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

    r124 r125  
    119119
    120120  private function CopySpaceFile ($fileId, $destination, $userid) {
    121     $c = new Criteria();
     121    /* $c = new Criteria();
    122122    $c->add(TblspacefilePeer::FILE_ID, $fileId);
    123123    $c->add(TblspacefilePeer::FILE_USER, $userId);
    124124    $currentFile = TblspacefilePeer::doSelectOne($c);
    125125
    126     $fileName = $currentFile->getFileCategory() == $destination ? 'Copy of '.$currentFile->getFileName():$currentFile->getFileName();
    127    
    128     return $currentFile;
     126    $fileName = $currentFile->getFileCategory() == $destination ? 'Copy of '.$currentFile->getFileName():$currentFile->getFileName(); */
     127   
     128    return $destination;
    129129   
    130130    /* $tblfile = new Tblspacefile();
Note: See TracChangeset for help on using the changeset viewer.