Changeset 125 for pro-bachkim-filespace/sourcecode/api.violet.vn
- Timestamp:
- Sep 15, 2014 2:58:42 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
r124 r125 119 119 120 120 private function CopySpaceFile ($fileId, $destination, $userid) { 121 $c = new Criteria();121 /* $c = new Criteria(); 122 122 $c->add(TblspacefilePeer::FILE_ID, $fileId); 123 123 $c->add(TblspacefilePeer::FILE_USER, $userId); 124 124 $currentFile = TblspacefilePeer::doSelectOne($c); 125 125 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; 129 129 130 130 /* $tblfile = new Tblspacefile();
Note: See TracChangeset
for help on using the changeset viewer.