WIN: fixing Fatal error: Call to a member function logicToPhysical() on a non-object in C:\jenkins2\workspace\server-stable5-windows\database\mssql\label\WINDOWS\lib\files\storage\mappedlocal.php on line 311

This commit is contained in:
Thomas Mueller 2013-11-02 20:22:12 +01:00
parent 5ecebe211b
commit e37047b2a0

View file

@ -19,10 +19,9 @@ class Home extends Local {
public function __construct($arguments) {
$this->user = $arguments['user'];
$this->datadir = $this->user->getHome();
if (substr($this->datadir, -1) !== '/') {
$this->datadir .= '/';
}
$datadir = $this->user->getHome();
parent::__construct(array('datadir' => $datadir));
}
public function getId() {