Filename of copied file fixed.
This commit is contained in:
parent
db0fcb87fb
commit
b2970a86d5
1 changed files with 5 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.21 $
|
Version : $Revision: 1.22 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -35,7 +35,7 @@ require_once "BasicStor.php";
|
||||||
* LiveSupport file storage module
|
* LiveSupport file storage module
|
||||||
*
|
*
|
||||||
* @author $Author: tomas $
|
* @author $Author: tomas $
|
||||||
* @version $Revision: 1.21 $
|
* @version $Revision: 1.22 $
|
||||||
* @see BasicStor
|
* @see BasicStor
|
||||||
*/
|
*/
|
||||||
class GreenBox extends BasicStor{
|
class GreenBox extends BasicStor{
|
||||||
|
@ -402,8 +402,8 @@ class GreenBox extends BasicStor{
|
||||||
return $type;
|
return $type;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ==================================================== "private" methods */
|
|
||||||
|
|
||||||
|
/* ========================================== redefined "private" methods */
|
||||||
/**
|
/**
|
||||||
* Copy virtual file.<br>
|
* Copy virtual file.<br>
|
||||||
* Redefined from parent class.
|
* Redefined from parent class.
|
||||||
|
@ -422,6 +422,7 @@ class GreenBox extends BasicStor{
|
||||||
$ac =& StoredFile::recall(&$this, $id);
|
$ac =& StoredFile::recall(&$this, $id);
|
||||||
if(PEAR::isError($ac)){ return $ac; }
|
if(PEAR::isError($ac)){ return $ac; }
|
||||||
$ac2 =& StoredFile::copyOf(&$ac, $nid);
|
$ac2 =& StoredFile::copyOf(&$ac, $nid);
|
||||||
|
$ac2->rename($this->getObjName($nid));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
@ -476,6 +477,7 @@ class GreenBox extends BasicStor{
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==================================================== "private" methods */
|
||||||
/**
|
/**
|
||||||
* Return users's home folder local ID
|
* Return users's home folder local ID
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue