diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-02 20:22:12 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-02 20:22:12 +0100 |
commit | e37047b2a0aebec25e8e2933f5233306e9aff16b (patch) | |
tree | 2dc7fbf45cb6ff7813eb73a0d04fcc2e8a251cbc /lib | |
parent | 5ecebe211bce490aa776ad3f3cc9e8a5b2088b6f (diff) | |
download | nextcloud-server-e37047b2a0aebec25e8e2933f5233306e9aff16b.tar.gz nextcloud-server-e37047b2a0aebec25e8e2933f5233306e9aff16b.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/storage/home.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/files/storage/home.php b/lib/private/files/storage/home.php index 47a76c1b840..bf1d6017cbf 100644 --- a/lib/private/files/storage/home.php +++ b/lib/private/files/storage/home.php @@ -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() { |