bug #601 fixed
This commit is contained in:
parent
dfe8595da0
commit
abe6ff8199
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.37 $
|
Version : $Revision: 1.38 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -52,7 +52,7 @@ require_once "Transport.php";
|
||||||
* Core of LiveSupport file storage module
|
* Core of LiveSupport file storage module
|
||||||
*
|
*
|
||||||
* @author $Author: tomas $
|
* @author $Author: tomas $
|
||||||
* @version $Revision: 1.37 $
|
* @version $Revision: 1.38 $
|
||||||
* @see Alib
|
* @see Alib
|
||||||
*/
|
*/
|
||||||
class BasicStor extends Alib{
|
class BasicStor extends Alib{
|
||||||
|
@ -894,9 +894,11 @@ class BasicStor extends Alib{
|
||||||
if($this->dbc->isError($res)) return $res;
|
if($this->dbc->isError($res)) return $res;
|
||||||
$id = $this->getObjId($login, $this->storId);
|
$id = $this->getObjId($login, $this->storId);
|
||||||
if($this->dbc->isError($id)) return $id;
|
if($this->dbc->isError($id)) return $id;
|
||||||
// remove home folder:
|
if(!is_null($id)){
|
||||||
$res = $this->bsDeleteFile($id);
|
// remove home folder:
|
||||||
if($this->dbc->isError($res)) return $res;
|
$res = $this->bsDeleteFile($id);
|
||||||
|
if($this->dbc->isError($res)) return $res;
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue