diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-11 22:43:57 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-11 22:43:57 +0400 |
commit | b6cd2a375869186ce57e1255e664d0ccaf42a2c8 (patch) | |
tree | 98ea3c0f300b3b378afdc1d474b4aaa333b100f4 /lib | |
parent | 0a422ed489bad6d624bf6798a4bbd156623ce4b8 (diff) |
fixes #5808
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/storage/home.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/files/storage/home.php b/lib/files/storage/home.php index 9521730765e..533fe5fe390 100644 --- a/lib/files/storage/home.php +++ b/lib/files/storage/home.php @@ -12,20 +12,20 @@ namespace OC\Files\Storage; * Specialized version of Local storage for home directory usage */ class Home extends Local { + /** - * @var \OC\User\User $user + * @var string $user */ protected $user; public function __construct($arguments) { $this->user = $arguments['user']; - $this->datadir = $arguments['datadir']; - if (substr($this->datadir, -1) !== '/') { - $this->datadir .= '/'; - } + $datadir = $arguments['datadir']; + + parent::__construct(array('datadir' => $datadir)); } public function getId() { return 'home::' . $this->user; } -}
\ No newline at end of file +} |